16 lines
216 B
Nix
16 lines
216 B
Nix
|
let
|
||
|
|
||
|
foobar = "foobar";
|
||
|
|
||
|
in
|
||
|
|
||
|
{ xyzzy2 ? xyzzy # mutually recursive args
|
||
|
, xyzzy ? "blaat" # will be overriden by --argstr
|
||
|
, fb ? foobar
|
||
|
, lib # will be set by --arg
|
||
|
}:
|
||
|
|
||
|
{
|
||
|
result = lib.concat [xyzzy xyzzy2 fb];
|
||
|
}
|