You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install nix via sh <(curl -L https://nixos.org/nix/install)
Checkout Disruptor
Run disruptor nix-shell via ./nix-shell.sh
Error appears
bash: /Users/$USER/.nix-profile/etc/profile.d/nix.sh: No such file or directory
bash: /Users/$USER/.nix-profile/etc/profile.d/nix.sh: No such file or directory
User provided the information that profile is created under /Users/root, not /Users/$USER which triggers the above error.
In my early investigation it looks like the first invocation of shell may be run with sudo permissions which is configuring profile under /Users/root and not /Users/$USER.
version: nix-2.10.3
darwin: 21.5.0
macOS: 10.16
multi-user: yes
Scenario:
sh <(curl -L https://nixos.org/nix/install)
./nix-shell.sh
User provided the information that profile is created under
/Users/root
, not/Users/$USER
which triggers the above error.In my early investigation it looks like the first invocation of shell may be run with sudo permissions which is configuring profile under /Users/root and not /Users/$USER.
@Helcaraxan
The text was updated successfully, but these errors were encountered: