1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

tests: test with conflicting profile links

This commit is contained in:
w 2023-12-30 06:24:06 +00:00
parent 29eb4d354a
commit 4e3dc5f925

View file

@ -13,6 +13,17 @@ let
'';
};
install-both-profile-links = {
script = ''
tar -xf ./nix.tar.xz
mv ./nix-* nix
ln -s $HOME/.local/state/nix/profiles/a-profile $HOME/.nix-profile
mkdir -p $HOME/.local/state/nix
ln -s $HOME/.local/state/nix/profiles/b-profile $HOME/.local/state/nix/profile
./nix/install --no-channel-add
'';
};
install-force-no-daemon = {
script = ''
tar -xf ./nix.tar.xz