mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-16 03:06:17 +02:00
13 lines
225 B
Nix
13 lines
225 B
Nix
|
assert builtins ? currentSystem;
|
||
|
assert !builtins ? __currentSystem;
|
||
|
|
||
|
let {
|
||
|
|
||
|
x = if builtins ? dirOf then builtins.dirOf /foo/bar else "";
|
||
|
|
||
|
y = if builtins ? fnord then builtins.fnord "foo" else "";
|
||
|
|
||
|
body = x + y;
|
||
|
|
||
|
}
|