mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-12-05 03:46:16 +02:00
13 lines
147 B
Nix
13 lines
147 B
Nix
|
rec {
|
||
|
|
||
|
x = 123;
|
||
|
|
||
|
a = "foo";
|
||
|
|
||
|
b = "bar";
|
||
|
|
||
|
c = "foo" + "bar";
|
||
|
|
||
|
f = {z, x : ["a" "b" ("c" + "d")], y : [true false]}: if y then x else z;
|
||
|
|
||
|
}
|