aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-okay-autoargs.nix
blob: 815f51b1d67a05a04a24170d868817f65374e25b (plain)
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 overridden by --argstr
, fb ? foobar
, lib # will be set by --arg
}:

{
  result = lib.concat [xyzzy xyzzy2 fb];
}