13 lines
235 B
Rust
13 lines
235 B
Rust
|
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() {}
|