mirror of
https://github.com/NixOS/nix.git
synced 2025-11-11 04:56:01 +01:00
34 lines
No EOL
2.2 KiB
Markdown
34 lines
No EOL
2.2 KiB
Markdown
# Changes between Nix and Determinate Nix
|
|
|
|
This section lists the differences between upstream Nix 2.29 and Determinate Nix 3.6.0.<!-- differences -->
|
|
|
|
* In Determinate Nix, flakes are stable. You no longer need to enable the `flakes` experimental feature.
|
|
|
|
* In Determinate Nix, the new Nix CLI (i.e. the `nix` command) is stable. You no longer need to enable the `nix-command` experimental feature.
|
|
|
|
* Determinate Nix has a setting [`json-log-path`](@docroot@/command-ref/conf-file.md#conf-json-log-path) to send a copy of all Nix log messages (in JSON format) to a file or Unix domain socket.
|
|
|
|
* Determinate Nix has made `nix profile install` an alias to `nix profile add`, a more symmetrical antonym of `nix profile remove`.
|
|
|
|
* `nix-channel` and `channel:` url syntax (like `channel: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".
|
|
|
|
<!-- Determinate Nix version 3.4.2 -->
|
|
|
|
<!-- Determinate Nix version 3.5.0 -->
|
|
|
|
<!-- Determinate Nix version 3.5.1 -->
|
|
|
|
* `nix upgrade-nix` is now inert, and suggests using `determinate-nixd upgrade` -- [DeterminateSystems/nix-src#55](https://github.com/DeterminateSystems/nix-src/pull/55)
|
|
|
|
* Initial Lazy Trees support has been merged, but remains off by default. ([DeterminateSystems/nix-src#27](https://github.com/DeterminateSystems/nix-src/pull/27), [DeterminateSystems/nix-src#56](https://github.com/DeterminateSystems/nix-src/pull/56))
|
|
|
|
<!-- Determinate Nix version 3.5.2 -->
|
|
|
|
* 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](https://github.com/DeterminateSystems/nix-src/pull/64)
|
|
<!-- Determinate Nix version 3.6.0 -->
|
|
|
|
* Emit warnings when using import-from-derivation by setting the `trace-import-from-derivation` option to `true` by @gustavderdrache in [DeterminateSystems/nix-src#70](https://github.com/DeterminateSystems/nix-src/pull/70) |