mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 01:26:15 +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;
|
||
|
|
||
|
}
|