NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.19k stars 1.47k forks source link

Install fails on OSX (intel) #10223

Open gpicron opened 6 months ago

gpicron commented 6 months ago

Platform

Additional information

Output

Output ```log ---- sudo execution ------------------------------------------------------------ I am executing: $ sudo /usr/sbin/chown -R root:nixbld /nix to take root ownership of existing Nix store files chown: /nix/.Trashes: Operation not permitted chown: /nix/.Trashes: Operation not permitted ---- sudo execution ------------------------------------------------------------ I am executing: $ sudo install -dv -m 0755 /nix /nix/var /nix/var/log /nix/var/log/nix /nix/var/log/nix/drvs /nix/var/nix /nix/var/nix/db /nix/var/nix/gcroots /nix/var/nix/profiles /nix/var/nix/temproots /nix/var/nix/userpool /nix/var/nix/daemon-socket /nix/var/nix/gcroots/per-user /nix/var/nix/profiles/per-user to make the basic directory structure of Nix (part 1) /var/folders/m4/7vv5w6r14jg4wzz9xph448fr0000gn/T/nix-binary-tarball-unpack.3o1NdKoZhN/unpack/nix-2.20.5-x86_64-darwin/create-darwin-volume.sh: line 354: 54973 Abort trap: 6 sudo "$@" ---- oh no! -------------------------------------------------------------------- ```

Priorities

Add :+1: to issues you find important.

abathur commented 6 months ago

Can you include all of the output of you still have it?

Edit: this does look like the same as reported in #9075. Since that one sounds like it was fixed by an uninstall/reinstall, I'll assume for now that you have had nix installed previously. I'd try following my recommendation in that thread.