diff options
author | Griffin Smith <grfn@gws.fyi> | 2022-10-13T04·12-0400 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-10-17T11·29+0000 |
commit | 0063e7e913c199538fe67d55e714dd34c09cece3 (patch) | |
tree | a3e0a15c8f19491afb98442fef0102fec77df163 /tvix/eval/src/tests/tvix_tests/eval-okay-functionargs.exp | |
parent | 2a3d49810482b36de9f2d3087e5064545183dbb3 (diff) |
feat(nix/eval): Implement builtins.functionArgs r/5155
Now that we're tracking formals on Lambda this ends up being quite easy; we just pull them off of the Lambda for the argument closure and use them to construct the result attribute set. Change-Id: I811cb61ec34c6bef123a4043000b18c0e4ea0125 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7003 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-functionargs.exp')
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-functionargs.exp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-functionargs.exp b/tvix/eval/src/tests/tvix_tests/eval-okay-functionargs.exp new file mode 100644 index 000000000000..c1c9f8ffaf69 --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-functionargs.exp @@ -0,0 +1 @@ +[ "stdenv" "fetchurl" "aterm-stdenv" "aterm-stdenv2" "libX11" "libXv" "mplayer-stdenv2.libXv-libX11" "mplayer-stdenv2.libXv-libX11_2" "nix-stdenv-aterm-stdenv" "nix-stdenv2-aterm2-stdenv2" ] |