Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed re-install on Mac OS 12.5.1 #7013

Open
savil opened this issue Sep 7, 2022 · 2 comments
Open

Failed re-install on Mac OS 12.5.1 #7013

savil opened this issue Sep 7, 2022 · 2 comments
Labels
bug installer macos Nix on macOS, aka OS X, aka darwin

Comments

@savil
Copy link

savil commented Sep 7, 2022

Describe the bug

  1. I followed the install steps at https://nixos.org/download.html#nix-install-macos
  2. I had an old nix install from a few weeks ago, and the install script prompted me to backup the bashrc and zshrc files. I did the backups and re-ran the install script.
  3. The install script then did a fair amount (see output below), and then failed.

Steps To Reproduce

  1. Have an old install on mac os
  2. run the install script
  3. Hopefully (not!) that will fail too?

Expected behavior

expected a full install to succeed.

Additional context

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  4064  100  4064    0     0  15402      0 --:--:-- --:--:-- --:--:-- 3968k
downloading Nix 2.11.0 binary tarball for x86_64-darwin from 'https://releases.nixos.org/nix/nix-2.11.0/nix-2.11.0-x86_64-darwin.tar.xz' to '/var/folders/zv/r3sx92_94gq86_rq3yn1ky2h0000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.e1DdTxR2'...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 23.4M  100 23.4M    0     0  47.0M      0 --:--:-- --:--:-- --:--:-- 47.7M
Switching to the Multi-user Installer
Welcome to the Multi-User Nix Installation

This installation tool will set up your computer with the Nix package
manager. This will happen in a few stages:

1. Make sure your computer doesn't already have Nix. If it does, I
   will show you instructions on how to clean up your old install.

2. Show you what I am going to install and where. Then I will ask
   if you are ready to continue.

3. Create the system users and groups that the Nix daemon uses to run
   builds.

4. Perform the basic installation of the Nix files daemon.

5. Configure your shell to import special Nix Profile files, so you
   can use Nix.

6. Start the Nix daemon.

Would you like to see a more detailed list of what I will do?
[y/n] n


---- let's talk about sudo -----------------------------------------------------
This script is going to call sudo a lot. Every time I do, it'll
output exactly what it'll do, and why.

Just like this:

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo echo

to demonstrate how our sudo prompts look


This might look scary, but everything can be undone by running just a
few commands. I used to ask you to confirm each time sudo ran, but it
was too many times. Instead, I'll just ask you this one time:

Can I use sudo?
[y/n] y

Yay! Thanks! Let's get going!

~~> Fixing any leftover Nix volume state
Before I try to install, I'll check for any existing Nix volume config
and ask for your permission to remove it (so that the installer can
start fresh). I'll also ask for permission to fix any issues I spot.

---- Found existing Nix volume -------------------------------------------------
  special:	disk1s7
     uuid:	2C2D52AC-CC1F-423D-A90F-3BCE4299A0A3
encrypted:	yes


---- sudo execution ------------------------------------------------------------
---- sudo execution ------------------------------------------------------------
I am executing:
I am executing:


    $ sudo security find-generic-password -s 2C2D52AC-CC1F-423D-A90F-3BCE4299A0A3 -w

    $ sudo /usr/sbin/diskutil apfs unlockVolume disk1s7 -verify -stdinpassphrase -user 2C2D52AC-CC1F-423D-A90F-3BCE4299A0A3
to confirm keychain has a password that unlocks this volume


to confirm the password actually unlocks the volume

Verifying the specific cryptographic user 2C2D52AC-CC1F-423D-A90F-3BCE4299A0A3 on APFS Volume disk1s7
Passphrase valid
Found a working decryption password in keychain :)


~~> Checking for artifacts of previous installs
Before I try to install, I'll check for signs Nix already is or has
been installed on this system.

---- Nix config report ---------------------------------------------------------
        Temp Dir:	/var/folders/zv/r3sx92_94gq86_rq3yn1ky2h0000gn/T/tmp.yFBk4rDG
        Nix Root:	/nix
     Build Users:	32
  Build Group ID:	30000
Build Group Name:	nixbld

build users:
    Username:	UID
     _nixbld1:	301
     _nixbld2:	302
     _nixbld3:	303
     _nixbld4:	304
     _nixbld5:	305
     _nixbld6:	306
     _nixbld7:	307
     _nixbld8:	308
     _nixbld9:	309
     _nixbld10:	310
     _nixbld11:	311
     _nixbld12:	312
     _nixbld13:	313
     _nixbld14:	314
     _nixbld15:	315
     _nixbld16:	316
     _nixbld17:	317
     _nixbld18:	318
     _nixbld19:	319
     _nixbld20:	320
     _nixbld21:	321
     _nixbld22:	322
     _nixbld23:	323
     _nixbld24:	324
     _nixbld25:	325
     _nixbld26:	326
     _nixbld27:	327
     _nixbld28:	328
     _nixbld29:	329
     _nixbld30:	330
     _nixbld31:	331
     _nixbld32:	332

Ready to continue?
[y/n] y


---- Preparing a Nix volume ----------------------------------------------------
    Nix traditionally stores its data in the root directory /nix, but
    macOS now (starting in 10.15 Catalina) has a read-only root directory.
    To support Nix, I will create a volume and configure macOS to mount it
    at /nix.

~~> Configuring /etc/synthetic.conf to make a mount-point at /nix

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo /usr/bin/ex -u NONE -n /etc/synthetic.conf

to add Nix to /etc/synthetic.conf


~~> Creating a Nix volume

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo /usr/sbin/diskutil unmount force disk1s7

to ensure the Nix volume is not mounted

Volume Nix Store on disk1s7 force-unmounted

~~> Configuring /etc/fstab to specify volume mount options

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo /usr/sbin/vifs

to add nix to fstab


~~> Configuring LaunchDaemon to mount 'Nix Store'

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo /usr/bin/ex -u NONE -n /Library/LaunchDaemons/org.nixos.darwin-store.plist

to install the Nix volume mounter


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo launchctl bootstrap system /Library/LaunchDaemons/org.nixos.darwin-store.plist

to launch the Nix volume mounter


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo launchctl kickstart -k system/org.nixos.darwin-store

to launch the Nix volume mounter


~~> Setting up the build group nixbld
            Exists:	Yes

~~> Setting up the build user _nixbld1
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 1
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld2
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 2
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld3
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 3
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld4
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 4
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld5
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 5
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld6
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 6
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld7
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 7
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld8
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 8
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld9
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 9
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld10
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 10
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld11
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 11
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld12
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 12
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld13
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 13
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld14
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 14
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld15
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 15
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld16
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 16
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld17
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 17
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld18
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 18
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld19
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 19
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld20
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 20
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld21
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 21
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld22
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 22
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld23
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 23
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld24
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 24
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld25
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 25
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld26
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 26
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld27
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 27
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld28
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 28
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld29
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 29
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld30
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 30
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld31
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 31
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the build user _nixbld32
            Exists:	Yes
            Hidden:	Yes
    Home Directory:	/var/empty
              Note:	Nix build user 32
   Logins Disabled:	Yes
  Member of nixbld:	Yes
    PrimaryGroupID:	30000

~~> Setting up the basic directory structure

---- 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)


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo install -dv -g nixbld -m 1775 /nix/store

to make the basic directory structure of Nix (part 2)


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo install -dv -m 0555 /etc/nix

to place the default nix daemon configuration (part 1)


---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo install -m 0664 /var/folders/zv/r3sx92_94gq86_rq3yn1ky2h0000gn/T/tmp.yFBk4rDG/.nix-channels /var/root/.nix-channels

to set up the default system channel (part 1)


~~> Installing Nix

---- sudo execution ------------------------------------------------------------
I am executing:

    $ sudo cp -RPp ./store/01mj3sckpsccjs2xxkk5g7785l9q768x-libcxxabi-11.1.0 ./store/0d4w6hxjncsm1x4ayzji5wrj6pcwcdyz-libcxx-11.1.0 ./store/0s4dy5cxk02v4vy12vpsxgl8l6p0i8y7-aws-c-cal-0.5.17 ./store/1gmc7mq6ksmafv820l6waqcz0f68xvcs-nghttp2-1.47.0-lib ./store/2pfjz9b22k9997gh7cb0hjk1qa4lxrvy-nix-2.11.0 ./store/33kam22n5s3xk7nynxlncfs811s40x8n-libunistring-1.0 ./store/36bphb5sgp7h18fd3vcsgwap0j3vvdmd-aws-c-mqtt-0.7.10 ./store/3h7vf3h57xp29p892iqvvq54h8nkv297-apple-framework-IOKit ./store/4hagigi0c3dk6ycy6bv3r8hkpjnrscvg-aws-c-io-0.11.0 ./store/5crz0l3klajnqchl0zll1ia19n0ljs32-swift-corefoundation-unstable-2018-09-14 ./store/76ikx0n8my0fazvb5wpnqnnp2xpimq65-brotli-1.0.9-lib ./store/7vxmz5dm7s0hbi22858y17fmhv10cf5z-zlib-1.2.12 ./store/8alsm9gqyk5rw7f4g4j755dnn85ll3m0-aws-c-common-0.7.0 ./store/8f6xjpndby58qj1qb8s5d5kmgp72wrb9-ICU-66108 ./store/8gvak51060yi23l4jp1wqjmxg5llcyb5-aws-checksums-0.1.12 ./store/8p5nq2py3rvsfw5ggxhcvw11zad0mm31-libsodium-1.0.18 ./store/ak4rvddc8pc92517clbsxsdvxb4q3fq7-nlohmann_json-3.10.5 ./store/apfhy056b71zn4v5mbhf400pmv52f507-libxml2-2.9.14 ./store/awy40gzv04g1ci7vgdq5zana1p5y0yxw-brotli-1.0.9-lib ./store/bips4w9xvhai6apsg8qiilw475gizlkd-libidn2-2.3.2 ./store/bjqn7i9is9497nraf9rsf0hmxh07jwb7-aws-crt-cpp-0.17.28 ./store/bpsvbbaxg9bfr5713d2if4cbs3zr8iir-zstd-1.5.2 ./store/d4bnnxjkn38pgpds7r1y9vd5m0cb6wga-libcpuid-0.5.1 ./store/fn6kkg71q3wb6px5n3b89z14rhvii1xn-bash-5.1-p16 ./store/frjb9fdj74fpn28fgvv11lrjcd9xcpx5-aws-c-compression-0.2.14 ./store/gczjd9h3waj8429xp2npm1lzk0ikwz4d-aws-c-event-stream-0.2.7 ./store/gs5bangbwjz6c1f7338774mnlqrdfv6w-libxml2-2.9.14 ./store/j7bys3pgw4zw3hysmnrwq0yd98babgvv-nss-cacert-3.80 ./store/jsz92lnyyp7dg9zpzxlfv999aka35f3v-libarchive-3.6.1-lib ./store/lcgnx0cr553ayjckhrvizx2lyb2a32mb-aws-c-http-0.6.15 ./store/lia296li259j33qlcarkn63lrdz9c6jj-nghttp2-1.47.0-lib ./store/m4wi5pqk1adk6nliqr69lgvzrxqn80gm-zstd-1.5.2 ./store/mlbfnviskhzpzkchz413iphlj1bhpxbi-editline-1.17.1 ./store/mvdxfn7rkc0lsdy92ga0v1pnbnp8a1id-xz-5.2.5 ./store/ni8221ym8df3iff8vn864pf4v7rm79ic-Libsystem-1238.60.2 ./store/nshcnznnc8rdn87y4xb3wiihrmfl2qx6-libkrb5-1.19.3 ./store/pigxdm5lqd65lgq48dl2c3h13kxa491f-libunistring-1.0 ./store/qqgg5fcx2kx36mwnfpn2fmkcy5v79imn-apple-framework-Security ./store/r7w766yb2z8khrpr4fcb2y6d5qwlaz64-aws-c-sdkutils-0.1.2 ./store/ra3i02ijg39vbcck953jqqw1lbh0l3ri-libiconv-50 ./store/rhqnvv72hyqpy1ks3nhxf3i7p5ln0ipf-curl-7.83.1 ./store/rk6ipzg00lms7fyns3ci4rc4qn3ngihb-curl-7.83.1 ./store/rn4qkv2v85cf34b9h4ph1gcrxbbyv68k-aws-c-auth-0.6.13 ./store/rwg8g6ksjh2d9l76by4m255qc6kiq33b-aws-sdk-cpp-1.9.238 ./store/rxk9grzm1g1nz94km0k16z17myjdzmlw-libidn2-2.3.2 ./store/sc0iy8zwqfxxl8zc41dwa6frhxmjd5r8-curl-7.83.1 ./store/v0q15kxg3kvr4gdqw6vgb4397d8kwn9j-libssh2-1.10.0 ./store/vg4b2xd0g0ln3x4g0z73qk594livgdgp-openssl-1.1.1q ./store/vjxi76i81q1vy03vs56wghm1br6s5qr1-openssl-1.1.1q ./store/vk4gdpzhnj8h7nvsmjrs4mdbm5qzd93w-bzip2-1.0.6.0.2 ./store/x0lp3g632wilrz4cqca434vh21wmky3b-aws-c-s3-0.1.39 ./store/x3d5m05l3gdwkx4yd50ypl9hn7nfsv7i-boehm-gc-8.0.6 ./store/xbf3l20aca299dfg7isdprzxwklgj7n9-sqlite-3.38.5 ./store/xwl2dxqqfyx2lf20sb7vx4hx3dx7i3q9-libssh2-1.10.0 ./store/yhm2ayipn22kp0cyr3mqq71ihk2za056-libkrb5-1.19.3 /nix/store/

to copy the basic Nix files to the new store at /nix/store

cp: cannot overwrite directory /nix/store/3h7vf3h57xp29p892iqvvq54h8nkv297-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Resources with non-directory ./store/3h7vf3h57xp29p892iqvvq54h8nkv297-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Resources
cp: cannot overwrite directory /nix/store/3h7vf3h57xp29p892iqvvq54h8nkv297-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/A/Resources with non-directory ./store/3h7vf3h57xp29p892iqvvq54h8nkv297-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/A/Resources
cp: cannot overwrite directory /nix/store/3h7vf3h57xp29p892iqvvq54h8nkv297-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/Current with non-directory ./store/3h7vf3h57xp29p892iqvvq54h8nkv297-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/Current
cp: cannot overwrite directory /nix/store/3h7vf3h57xp29p892iqvvq54h8nkv297-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Headers with non-directory ./store/3h7vf3h57xp29p892iqvvq54h8nkv297-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Headers
cp: cannot overwrite directory /nix/store/5crz0l3klajnqchl0zll1ia19n0ljs32-swift-corefoundation-unstable-2018-09-14/Library/Frameworks/CoreFoundation.framework/Versions/Current with non-directory ./store/5crz0l3klajnqchl0zll1ia19n0ljs32-swift-corefoundation-unstable-2018-09-14/Library/Frameworks/CoreFoundation.framework/Versions/Current
cp: cannot overwrite directory /nix/store/5crz0l3klajnqchl0zll1ia19n0ljs32-swift-corefoundation-unstable-2018-09-14/Library/Frameworks/CoreFoundation.framework/Headers with non-directory ./store/5crz0l3klajnqchl0zll1ia19n0ljs32-swift-corefoundation-unstable-2018-09-14/Library/Frameworks/CoreFoundation.framework/Headers
cp: cannot overwrite directory /nix/store/5crz0l3klajnqchl0zll1ia19n0ljs32-swift-corefoundation-unstable-2018-09-14/Library/Frameworks/CoreFoundation.framework/Modules with non-directory ./store/5crz0l3klajnqchl0zll1ia19n0ljs32-swift-corefoundation-unstable-2018-09-14/Library/Frameworks/CoreFoundation.framework/Modules
cp: cannot overwrite directory /nix/store/nshcnznnc8rdn87y4xb3wiihrmfl2qx6-libkrb5-1.19.3/sbin with non-directory ./store/nshcnznnc8rdn87y4xb3wiihrmfl2qx6-libkrb5-1.19.3/sbin
cp: cannot overwrite directory /nix/store/qqgg5fcx2kx36mwnfpn2fmkcy5v79imn-apple-framework-Security/Library/Frameworks/Security.framework/Resources with non-directory ./store/qqgg5fcx2kx36mwnfpn2fmkcy5v79imn-apple-framework-Security/Library/Frameworks/Security.framework/Resources
cp: cannot overwrite directory /nix/store/qqgg5fcx2kx36mwnfpn2fmkcy5v79imn-apple-framework-Security/Library/Frameworks/Security.framework/Versions/A/Resources with non-directory ./store/qqgg5fcx2kx36mwnfpn2fmkcy5v79imn-apple-framework-Security/Library/Frameworks/Security.framework/Versions/A/Resources
cp: cannot overwrite directory /nix/store/qqgg5fcx2kx36mwnfpn2fmkcy5v79imn-apple-framework-Security/Library/Frameworks/Security.framework/Versions/Current with non-directory ./store/qqgg5fcx2kx36mwnfpn2fmkcy5v79imn-apple-framework-Security/Library/Frameworks/Security.framework/Versions/Current
cp: cannot overwrite directory /nix/store/qqgg5fcx2kx36mwnfpn2fmkcy5v79imn-apple-framework-Security/Library/Frameworks/Security.framework/Headers with non-directory ./store/qqgg5fcx2kx36mwnfpn2fmkcy5v79imn-apple-framework-Security/Library/Frameworks/Security.framework/Headers
cp: cannot overwrite directory /nix/store/yhm2ayipn22kp0cyr3mqq71ihk2za056-libkrb5-1.19.3/sbin with non-directory ./store/yhm2ayipn22kp0cyr3mqq71ihk2za056-libkrb5-1.19.3/sbin
---- oh no! --------------------------------------------------------------------
Jeeze, something went wrong. If you can take all the output and open
an issue, we'd love to fix the problem so nobody else has this issue.

:(

We'd love to help if you need it.

You can open an issue at https://github.com/nixos/nix/issues

Or feel free to contact the team:
 - Matrix: #nix:nixos.org
 - IRC: in #nixos on irc.libera.chat
 - twitter: @nixos_org
 - forum: https://discourse.nixos.org
@savil savil added the bug label Sep 7, 2022
@savil
Copy link
Author

savil commented Sep 7, 2022

maybe duplicate of #6970

@savil
Copy link
Author

savil commented Sep 7, 2022

As per the suggestion in #6970, I followed the manual uninstall instructions, and then was able to successfully re-run the install script. I am unblocked.

Leaving the task open, in case it is needed to improve the install experience - but feel free to close out otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug installer macos Nix on macOS, aka OS X, aka darwin
Projects
None yet
Development

No branches or pull requests

2 participants