nix icon indicating copy to clipboard operation
nix copied to clipboard

Nix Install Fails

Open idontgetoutmuch opened this issue 2 years ago • 2 comments

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

  1. 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

idontgetoutmuch avatar Mar 17 '22 06:03 idontgetoutmuch

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

idontgetoutmuch avatar Mar 17 '22 07:03 idontgetoutmuch

#6144 has uninstall instructions. It should run clean after you follow them.

abathur avatar Mar 17 '22 15:03 abathur