This website requires JavaScript.
Explore
Help
Register
Sign in
mdebray
/
tvl-depot
Watch
1
Star
0
Fork
You've already forked tvl-depot
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
762ef464f8
tvl-depot
/
tests
/
lang
/
eval-okay-dynamic-attrs-2.nix
2 lines
47 B
Nix
Raw
Normal View
History
Unescape
Escape
Fold dynamic binds handling into addAttr Since addAttr has to iterate through the AttrPath we pass it, it makes more sense to just iterate through the AttrNames in addAttr instead. As an added bonus, this allows attrsets where two dynamic attribute paths have the same static leading part (see added test case for an example that failed previously). Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-31 23:57:10 +01:00
{
a
.
"
${
"
b
"
}
"
=
true
;
a
.
"
${
"
c
"
}
"
=
false
;
}
.
a
.
b
Reference in a new issue
Copy permalink