diff options
Diffstat (limited to 'tvix/eval/src/tests/tvix_tests/eval-okay-attrs-inherit-literal.nix')
-rw-r--r-- | tvix/eval/src/tests/tvix_tests/eval-okay-attrs-inherit-literal.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/tvix_tests/eval-okay-attrs-inherit-literal.nix b/tvix/eval/src/tests/tvix_tests/eval-okay-attrs-inherit-literal.nix new file mode 100644 index 000000000000..9ecb4e9880ce --- /dev/null +++ b/tvix/eval/src/tests/tvix_tests/eval-okay-attrs-inherit-literal.nix @@ -0,0 +1,2 @@ +# the 'from' part of an `inherit` can be any expression. +{ inherit ({ a = 15; }) a; }.a |