mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-14 02:06:16 +02:00
13 lines
No EOL
147 B
Nix
13 lines
No EOL
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;
|
|
|
|
} |