Nix
Release 2.13 (2023-01-17)
Release 2.13 (2023-01-17)
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 helloInstead 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.
Allow explicitly selecting outputs in a store derivation installable, just like we can do with other sorts of installables. For example,
# nix build /nix/store/fpq78s2h8ffh66v2iy0q1838mhff06y8-glibc-2.33-78.drv^devnow works just as
# nix build nixpkgs#glibc^devdoes already.
On Linux,
nix developnow sets the personality for the development shell in the same way as the actual build of the derivation. This makes shells fori686-linuxderivations work correctly onx86_64-linux.You can now disable the global flake registry by setting the
flake-registryconfiguration option to an empty string. The same can be achieved at runtime with--flake-registry "".