mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
tests: test with conflicting profile links
This commit is contained in:
parent
29eb4d354a
commit
4e3dc5f925
@ -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 = {
|
install-force-no-daemon = {
|
||||||
script = ''
|
script = ''
|
||||||
tar -xf ./nix.tar.xz
|
tar -xf ./nix.tar.xz
|
||||||
|
Loading…
Reference in New Issue
Block a user