Skip to content

Commit

Permalink
tests/user-envs-migration.sh: Fix new profile dir
Browse files Browse the repository at this point in the history
It was changed from `XDG_DATA_HOME` to `XDG_STATE_HOME` during review,
but it was forgetten to update this test.
  • Loading branch information
Ericson2314 committed Mar 20, 2023
1 parent 81e07c9 commit fd89137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/user-envs-migration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ nix-env -q # Trigger the migration

# The nix profile should point to the new location
[[ -L ~/.nix-profile ]]
[[ $(readlink ~/.nix-profile) == ~/.local/share/nix/profiles/profile ]]
[[ $(readlink ~/.nix-profile) == ~/.local/state/nix/profiles/profile ]]

# The nix profile should have the same content as before the migration
nix-env -q | grepQuiet foo
Expand Down

0 comments on commit fd89137

Please sign in to comment.