mirror of
https://github.com/NixOS/nix.git
synced 2025-12-18 23:11:08 +01:00
Use words like added / removed
This commit is contained in:
parent
039d19159f
commit
724d552b64
4 changed files with 12 additions and 12 deletions
|
|
@ -58,8 +58,8 @@ nix profile list | grep -A4 'Name:.*flake1' | grep 'Locked flake URL:.*narHash'
|
|||
[ -e $TEST_HOME/.nix-profile/share/man ]
|
||||
(! [ -e $TEST_HOME/.nix-profile/include ])
|
||||
nix profile history
|
||||
nix profile history | grep "packages.$system.default: ∅ -> 1.0"
|
||||
nix profile diff-closures | grep 'env-manifest.nix: (no version) → ∅'
|
||||
nix profile history | grep "packages.$system.default: 1.0 added"
|
||||
nix profile diff-closures | grep 'env-manifest.nix: (no version) removed'
|
||||
|
||||
# Test XDG Base Directories support
|
||||
export NIX_CONFIG="use-xdg-base-directories = true"
|
||||
|
|
@ -128,7 +128,7 @@ nix profile rollback
|
|||
[ -e $TEST_HOME/.nix-profile/bin/foo ]
|
||||
nix profile remove foo 2>&1 | grep 'removed 1 packages'
|
||||
(! [ -e $TEST_HOME/.nix-profile/bin/foo ])
|
||||
nix profile history | grep 'foo: 1.0 -> ∅'
|
||||
nix profile history | grep 'foo: 1.0 removed'
|
||||
nix profile diff-closures | grep 'Version 3 -> 4'
|
||||
|
||||
# Test installing a non-flake package.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue