From 45970a18e6906a5c697bd3632b50fa4ad5c47ad6 Mon Sep 17 00:00:00 2001 From: Eli Kogan-Wang Date: Wed, 29 Jan 2025 12:40:27 +0100 Subject: [PATCH] tests: update nix profile remove command to reflect correct package removal count --- tests/functional/nix-profile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/nix-profile.sh b/tests/functional/nix-profile.sh index a7606b9b0..4324e4140 100755 --- a/tests/functional/nix-profile.sh +++ b/tests/functional/nix-profile.sh @@ -65,7 +65,7 @@ nix profile diff-closures | grep 'env-manifest.nix: ε → ∅' # Test XDG Base Directories support 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 [[ $($TEST_HOME/.local/state/nix/profile/bin/hello) = "Hello World" ]] unset NIX_CONFIG