mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02:00
Stabilize the "nix-command" feature
This commit is contained in:
parent
51583851a2
commit
e638d00223
9 changed files with 6 additions and 35 deletions
|
@ -79,12 +79,3 @@ nix --experimental-features '' --help 1>/dev/null
|
|||
nix --experimental-features '' doctor --help 1>/dev/null
|
||||
nix --experimental-features '' repl --help 1>/dev/null
|
||||
nix --experimental-features '' upgrade-nix --help 1>/dev/null
|
||||
|
||||
# These 3 arguments are currently given to all commands, which is wrong (as not
|
||||
# all care). To deal with fixing later, we simply make them require the
|
||||
# nix-command experimental features --- it so happens that the commands we wish
|
||||
# stabilizing to do not need them anyways.
|
||||
for arg in '--print-build-logs' '--offline' '--refresh'; do
|
||||
nix --experimental-features 'nix-command' "$arg" --help 1>/dev/null
|
||||
expect 1 nix --experimental-features '' "$arg" --help 1>/dev/null
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue