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

16 lines
217 B
Nix
Raw 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];
}