2.4 KiB
Changes between Nix and Determinate Nix
This section lists the differences between upstream Nix 2.29 and Determinate Nix 3.6.1.
-
In Determinate Nix, flakes are stable. You no longer need to enable the
flakesexperimental feature. -
In Determinate Nix, the new Nix CLI (i.e. the
nixcommand) is stable. You no longer need to enable thenix-commandexperimental feature. -
Determinate Nix has a setting
json-log-pathto send a copy of all Nix log messages (in JSON format) to a file or Unix domain socket. -
Determinate Nix has made
nix profile installan alias tonix profile add, a more symmetrical antonym ofnix profile remove. -
nix-channelandchannel:url syntax (likechannel:nixos-24.11) is deprecated, see: https://github.com/DeterminateSystems/nix-src/issues/34 -
Using indirect flake references and implicit inputs is deprecated, see: https://github.com/DeterminateSystems/nix-src/issues/37
-
Warnings around "dirty trees" are updated to reduce "dirty" jargon, and now refers to "uncommitted changes".
-
nix upgrade-nixis now inert, and suggests usingdeterminate-nixd upgrade-- DeterminateSystems/nix-src#55 -
Initial Lazy Trees support has been merged, but remains off by default. (DeterminateSystems/nix-src#27, DeterminateSystems/nix-src#56)
- Tell users a source is corrupted ("cannot read file from tarball: Truncated tar archive detected while reading data"), improving over the previous 'cannot read file from tarball' error by @edolstra in DeterminateSystems/nix-src#64
- Emit warnings when using import-from-derivation by setting the
trace-import-from-derivationoption totrueby @gustavderdrache in DeterminateSystems/nix-src#70
- Fix nlohmann error in fromStructuredAttrs() by @edolstra in DeterminateSystems/nix-src#73