1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

tests: update nix profile remove command to reflect correct package removal count

This commit is contained in:
Eli Kogan-Wang 2025-01-29 12:40:27 +01:00
parent 50409bc8e0
commit 45970a18e6

View file

@ -65,7 +65,7 @@ nix profile diff-closures | grep 'env-manifest.nix: ε → ∅'
# Test XDG Base Directories support # Test XDG Base Directories support
export NIX_CONFIG="use-xdg-base-directories = true" export NIX_CONFIG="use-xdg-base-directories = true"
nix profile remove foo-0.1 flake1 foo 2>&1 | grep 'removed 1 packages' nix profile remove foo-0.1 flake1 2>&1 | grep 'removed 2 packages'
nix profile install $flake1Dir nix profile install $flake1Dir
[[ $($TEST_HOME/.local/state/nix/profile/bin/hello) = "Hello World" ]] [[ $($TEST_HOME/.local/state/nix/profile/bin/hello) = "Hello World" ]]
unset NIX_CONFIG unset NIX_CONFIG