nix
nix copied to clipboard
Nix Install Fails
Describe the bug
Installing nix sh <(curl -L https://nixos.org/nix/install)
fails with
I am executing:
$ sudo /bin/cp -f /nix/var/nix/profiles/default/Library/LaunchDaemons/org.nixos.nix-daemon.plist /Library/LaunchDaemons/org.nixos.nix-daemon.plist
to set up the nix-daemon as a LaunchDaemon
cp: /Library/LaunchDaemons/org.nixos.nix-daemon.plist and /nix/var/nix/profiles/default/Library/LaunchDaemons/org.nixos.nix-daemon.plist are identical (not copied).
Steps To Reproduce
- sh <(curl -L https://nixos.org/nix/install)`
Expected behavior
I expect nix to install.
nix-env --version
output
nix isn't installed so I can't run this command
Additional context
Full log: nixInstall.log
I seem to already have (from a previous nix install):
ls -ltr /Library/LaunchDaemons/org.nixos.nix-daemon.plist
lrwxr-xr-x 1 root wheel 78 7 Dec 2017 /Library/LaunchDaemons/org.nixos.nix-daemon.plist -> /nix/var/nix/profiles/default/Library/LaunchDaemons/org.nixos.nix-daemon.plist
ls -ltr /nix/var/nix/profiles/default/Library/LaunchDaemons/org.nixos.nix-daemon.plist
ls: /nix/var/nix/profiles/default/Library/LaunchDaemons/org.nixos.nix-daemon.plist: No such file or directory
#6144 has uninstall instructions. It should run clean after you follow them.