1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-27 20:51:00 +01:00
nix/tests/functional/lang/eval-fail-dynamic-attrs-inherit.nix
Taeer Bar-Yam d56115eeb4
tests: add tests for dynamic attribute in let and inherit
Without a follow-up revert these tests will fail.

Co-authored-by: Sergei Zimmerman <sergei@zimmerman.foo>
Co-authored-by: piegames <git@piegames.de>

(cherry picked from commit 0c0a41a81a)
2025-11-26 00:29:27 +03:00

6 lines
43 B
Nix

let
a = 1;
in
{
inherit ${"a" + ""};
}