nix-super/tests/lang/eval-okay-autoargs.nix

16 lines
217 B
Nix
Raw Permalink Normal View History

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