1.4 KiB
Release X.Y (202?-??-??)
-
The
repeatandenforce-determinismoptions have been removed since they had been broken under many circumstances for a long time. -
You can now use flake references in the old command line interface, e.g.
# nix-build flake:nixpkgs -A hello # nix-build -I nixpkgs=flake:github:NixOS/nixpkgs/nixos-22.05 \ '<nixpkgs>' -A hello # NIX_PATH=nixpkgs=flake:nixpkgs nix-build '<nixpkgs>' -A hello -
Instead of "antiquotation", the more common term string interpolation is now used consistently. Historical release notes were not changed.
-
Error traces have been reworked to provide detailed explanations and more accurate error locations. A short excerpt of the trace is now shown by default when an error occurs.
-
In derivations that use structured attributes, you can now use
unsafeDiscardReferencesto disable scanning a given output for runtime dependencies:__structuredAttrs = true; unsafeDiscardReferences.out = true;This is useful e.g. when generating self-contained filesystem images with their own embedded Nix store: hashes found inside such an image refer to the embedded store and not to the host's Nix store.
This requires the
discard-referencesexperimental feature.