about summary refs log blame commit diff
path: root/third_party/nix/src/tests/lang/evalargs-okay-autoargs.nix
blob: 815f51b1d67a05a04a24170d868817f65374e25b (plain) (tree)
1
2
3
4
5
6
7
8






                                          
                                                  






                                        
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];
}