mirror of
https://github.com/NixOS/nix.git
synced 2025-12-14 21:11:04 +01:00
1.2 KiB
1.2 KiB
Release X.Y (202?-??-??)
nix-channelnow supports a--list-generationssubcommand
- The function
builtins.fetchClosurecan now fetch input-addressed paths in pure evaluation mode, as those are not impure.
-
Nix now allows unprivileged/
allowed-usersto sign paths. Previously, onlytrusted-usersusers could sign paths. -
Nested dynamic attributes are now merged correctly by the parser. For example:
{ nested = { foo = 1; }; nested = { ${"ba" + "r"} = 2; }; }This used to silently discard
nested.bar, but now behaves as one would expect and evaluates to:{ nested = { bar = 2; foo = 1; }; }Note that the feature of merging multiple attribute set declarations is of questionable value. It allows writing expressions that are very hard to read, for instance when there are many lines of code between two declarations of the same attribute. This has been around for a long time and is therefore supported for backwards compatibility, but should not be relied upon.