You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nix-build will, when a build fails, suggest to run nix log ..., which is an experimental CLI.
Steps To Reproduce
Run nix-build on something that fails.
nix-build will say ...For full logs, run 'nix log /nix/store/hash-name.drv'.
And nix log /nix/store/hash-name.drv will fail with error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
Expected behavior
The CLI shouldn't suggest to run experimental commands, especially there are stable alternatives (nix-store -l).
nix-env --version ->2.11.1 (default Nix in NixOS 22.11)
This fixes the issue that `nix-build`, without experimental feature
'nix-command' enabled, recommends the experimental CLI `nix log` to view
build logs. Now it'll recommend the stable `nix-store -l` CLI instead.
FixesNixOS#8118
This fixes the issue that `nix-build`, without experimental feature
'nix-command' enabled, recommends the experimental CLI `nix log` to view
build logs. Now it'll recommend the stable `nix-store -l` CLI instead.
FixesNixOS#8118
Describe the bug
nix-build
will, when a build fails, suggest to runnix log ...
, which is an experimental CLI.Steps To Reproduce
nix-build
on something that fails.nix-build
will say...For full logs, run 'nix log /nix/store/hash-name.drv'
.nix log /nix/store/hash-name.drv
will fail witherror: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
Expected behavior
The CLI shouldn't suggest to run experimental commands, especially there are stable alternatives (
nix-store -l
).nix-env --version
->2.11.1 (default Nix in NixOS 22.11)Additional context
#7701 (CLI stabilization effort)
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: