about summary refs log blame commit diff
path: root/tests/lang/eval-okay-autoargs.nix
blob: 1356bb5aa21fec4e1b3fbb9ab705751ea933d2b6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














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