mirror of
https://github.com/NixOS/nix
synced 2024-09-19 23:03:53 -04:00
a64bbe049e
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.
2 lines
7 B
Plaintext
2 lines
7 B
Plaintext
Int(1)
|