blob: 4f319c069dcac5848d33ee79ec893fa83b7cb50b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
use nix_compat_derive::NixDeserialize;
#[derive(NixDeserialize)]
pub struct Value(String);
#[derive(NixDeserialize)]
pub struct Test {
#[nix(version = "20..", default = "Value::make_default")]
version: Value,
}
fn main() {}
|