This website requires JavaScript.
Explore
Help
Sign in
lix-project
/
lix-releng-staging
Watch
0
Star
0
Fork
You've already forked lix-releng-staging
0
Code
Packages
1
Activity
6b9f6b0222
lix-releng-staging
/
tests
/
lang
/
eval-okay-scope-7.exp
2 lines
7 B
Text
Raw
Normal View
History
Unescape
Escape
* Change the scoping of "inherit (e) ..." in recs so that the attributes of the rec are in scope of `e'. This is useful in expressions such as rec { lib = import ./lib; inherit (lib) concatStrings; } It does change the semantics of expressions such as let x = {y = 1;}; in rec { x = {y = 2;}; inherit (x) y; }.y This now returns 2 instead of 1. However, no code in Nixpkgs or NixOS seems to rely on the old behaviour.
2009-05-15 13:46:13 +00:00
Int(1)
Copy permalink