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

Mac OS | Intel Nix Installation issue #9323

Closed
1 of 3 tasks
venkateshkumaar opened this issue Nov 8, 2023 · 2 comments
Closed
1 of 3 tasks

Mac OS | Intel Nix Installation issue #9323

venkateshkumaar opened this issue Nov 8, 2023 · 2 comments

Comments

@venkateshkumaar
Copy link

Platform

  • Linux:
  • macOS
  • WSL

Additional information

Output

Output

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

    $ sudo install -m 0664 /var/folders/gr/80fc9g4n0gn6g1sjv86g4m380000gn/T/tmp.IgL47cyH/.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/0h4airy4236yj3wv4587c4rp795xra2g-aws-c-sdkutils-0.1.9 ./store/0sxfywa0fj8xqj8f6p1zlkjwxcrazaxa-xz-5.4.3 ./store/1173b6jiykbm1vkwn1simwmifr2wkipf-libkrb5-1.20.1 ./store/129rhwvcxmcxp3cbnns6nf3db1g79hyj-sqlite-3.41.2 ./store/13n78hnn94vshpnl4hs166z4ngs7vyn7-libidn2-2.3.4 ./store/44ifylv1rmxjc2v0s6mj0iwhs2j11fjm-zstd-1.5.5 ./store/4w2l8gfsdcx4s1wisssvhj4mszpp4j79-nghttp2-1.51.0-lib ./store/4zmvrwwl8511hx2v5mm4xc8rzm4cm4di-apple-framework-Security ./store/5j0d6ib8155d36vw9n2b79qj58wrmdac-libsodium-1.0.18 ./store/6zi5fqzn9n17wrk8r41rhdw4j7jqqsi3-nix-2.18.1 ./store/87aww2wkjn5z5v1cjyz2dx29bqbxn92s-libiconv-50 ./store/884qw06q4i3i08fs6lrrn2wllq8d0785-libxml2-2.10.4 ./store/89j0w6daaa95jl9y84x0azll71dgvpzx-nghttp2-1.51.0-lib ./store/8i3ih701js0srrhvn8pl6yxicaw4nrwf-nlohmann_json-3.11.2 ./store/9f3znwh6xsbjpv43yvxx8mfhwm9qjq0l-libxml2-2.10.1 ./store/9kham4j5asbn4i45zpz3cj1nmj26bd8p-ICU-66108 ./store/9zga9dk5ivcd1g6vx9kqr2gfmbappf8q-libcxxabi-11.1.0 ./store/b1b7ly5vrz65ddam3vc6h4r4wycdl43x-libssh2-1.11.0 ./store/bnga81v5k13ifi2wj6cp684w0vwgznns-libkrb5-1.20.1 ./store/cdm66m2yp5nch43a7bip2c5rr76yllvw-libunistring-1.1 ./store/cjvjsxszckwwsiv8h4sclfff024s8zbq-libcxx-11.1.0 ./store/dm86dl2qlg0kj6vl2i68gfhcfsr65sp8-apple-framework-IOKit ./store/dz715hkamqpw3cfqcwhsshrdjjm8qy1r-editline-1.17.1 ./store/f9syyrcfl6m8cqj5v0f0skzr8fd85q4n-aws-c-auth-0.6.26 ./store/g5jyll5lvk9skl11l7pmcxj0nbvjr0h5-swift-corefoundation-unstable-2018-09-14 ./store/hb8v279qnz3ikspnbddc4mfcvnh3c70d-boehm-gc-8.2.2 ./store/i020n6d7wk9k77gp0is4ai41skjg2s91-aws-checksums-0.1.14 ./store/i83ldvyp0b7nb0wikfsmgkb24695mhy6-brotli-1.0.9-lib ./store/k1fvf8l2ymiz9px5rw7msnbbyb6bkgpj-bash-5.2-p15 ./store/kxhpxy6vl2lkd3sgc0l2xs21qwvvz22h-libunistring-1.1 ./store/l8qpsc66345zvl4n9k9xwxn57j3800zp-curl-8.1.1 ./store/lbcwzfx76154icnwnwmyc9my5jz9ssxm-nss-cacert-3.92 ./store/m131zdizifl14h3x7bgs8x6za5xrpaj9-Libsystem-1238.60.2 ./store/m45r3vz5cr83b0l1n0fkjyyqj84y540n-brotli-1.0.9-lib ./store/m67srryxfy75p77dppr78lp0hyhiyr4k-aws-crt-cpp-0.19.8 ./store/n1zzgyxxxla7ddxkanqx3f56y5xsnwy2-aws-sdk-cpp-1.11.37 ./store/nb44qwr0h4l0wbpwrd32vfal1i54crj0-bzip2-1.0.8 ./store/nk0lqlnls86nvf0d1zm0jkgly0mj37pw-aws-c-io-0.13.19 ./store/pysp1afqpv8cap6ap7kkxk27agyx5rd4-libcpuid-0.6.3 ./store/qvbx6f7rfqzcpar08ky0s6xdlzzgr5wp-aws-c-mqtt-0.8.8 ./store/ryapx3ghvl8k906vbbicr2pgp1kgj5zv-libssh2-1.11.0 ./store/s95psq5r94jl441nc53cxl7vqliaba0z-aws-c-cal-0.5.21 ./store/vmxmn9kf6d9hrym7rxn7fawlplv3sw1z-curl-8.1.1 ./store/w2fsc9g31sqvsggyr6nkfhvs9jl9b7dr-openssl-3.0.10 ./store/wn3ismp764zp69agn17yf1crk96p4fcj-aws-c-http-0.7.6 ./store/xlj41iabjz404dinh8xx15fpl21n2qc7-aws-c-common-0.8.15 ./store/y73gqzxvllnshi4sphs6x6d0w53yb8lw-zstd-1.5.5 ./store/yrxs6i1zd2c74ipi2amc9bi093bx0cwn-aws-c-s3-0.2.8 ./store/ywqkxm41ihriszx8fm4crkhiz82c8fdv-openssl-3.0.10 ./store/zh1c80q4iydnhp7h019z9p2xd317zm4c-libarchive-3.6.2-lib ./store/zjk541yjkd3lgh9ffsi2lfi5dh8l8z65-aws-c-event-stream-0.2.20 ./store/znd2a3raaqamswqjirdbbc47120sqlsa-libidn2-2.3.4 ./store/zw4jdm6zwsgdll4axvilbv309xy8pyb2-aws-c-compression-0.2.16 ./store/zxr22nvc8mn26ivmrmrs45nw2zsx7l72-zlib-1.2.13 /nix/store/

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

cp: cannot overwrite directory /nix/store/1173b6jiykbm1vkwn1simwmifr2wkipf-libkrb5-1.20.1/sbin with non-directory ./store/1173b6jiykbm1vkwn1simwmifr2wkipf-libkrb5-1.20.1/sbin
cp: cannot overwrite directory /nix/store/4zmvrwwl8511hx2v5mm4xc8rzm4cm4di-apple-framework-Security/Library/Frameworks/Security.framework/Resources with non-directory ./store/4zmvrwwl8511hx2v5mm4xc8rzm4cm4di-apple-framework-Security/Library/Frameworks/Security.framework/Resources
cp: cannot overwrite directory /nix/store/4zmvrwwl8511hx2v5mm4xc8rzm4cm4di-apple-framework-Security/Library/Frameworks/Security.framework/Versions/A/Resources with non-directory ./store/4zmvrwwl8511hx2v5mm4xc8rzm4cm4di-apple-framework-Security/Library/Frameworks/Security.framework/Versions/A/Resources
cp: cannot overwrite directory /nix/store/4zmvrwwl8511hx2v5mm4xc8rzm4cm4di-apple-framework-Security/Library/Frameworks/Security.framework/Versions/Current with non-directory ./store/4zmvrwwl8511hx2v5mm4xc8rzm4cm4di-apple-framework-Security/Library/Frameworks/Security.framework/Versions/Current
cp: cannot overwrite directory /nix/store/4zmvrwwl8511hx2v5mm4xc8rzm4cm4di-apple-framework-Security/Library/Frameworks/Security.framework/Headers with non-directory ./store/4zmvrwwl8511hx2v5mm4xc8rzm4cm4di-apple-framework-Security/Library/Frameworks/Security.framework/Headers
cp: cannot overwrite directory /nix/store/bnga81v5k13ifi2wj6cp684w0vwgznns-libkrb5-1.20.1/sbin with non-directory ./store/bnga81v5k13ifi2wj6cp684w0vwgznns-libkrb5-1.20.1/sbin
cp: cannot overwrite directory /nix/store/dm86dl2qlg0kj6vl2i68gfhcfsr65sp8-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Resources with non-directory ./store/dm86dl2qlg0kj6vl2i68gfhcfsr65sp8-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Resources
cp: cannot overwrite directory /nix/store/dm86dl2qlg0kj6vl2i68gfhcfsr65sp8-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/A/Resources with non-directory ./store/dm86dl2qlg0kj6vl2i68gfhcfsr65sp8-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/A/Resources
cp: cannot overwrite directory /nix/store/dm86dl2qlg0kj6vl2i68gfhcfsr65sp8-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/Current with non-directory ./store/dm86dl2qlg0kj6vl2i68gfhcfsr65sp8-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/Current
cp: cannot overwrite directory /nix/store/dm86dl2qlg0kj6vl2i68gfhcfsr65sp8-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Headers with non-directory ./store/dm86dl2qlg0kj6vl2i68gfhcfsr65sp8-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Headers
cp: cannot overwrite directory /nix/store/g5jyll5lvk9skl11l7pmcxj0nbvjr0h5-swift-corefoundation-unstable-2018-09-14/Library/Frameworks/CoreFoundation.framework/Versions/Current with non-directory ./store/g5jyll5lvk9skl11l7pmcxj0nbvjr0h5-swift-corefoundation-unstable-2018-09-14/Library/Frameworks/CoreFoundation.framework/Versions/Current
cp: cannot overwrite directory /nix/store/g5jyll5lvk9skl11l7pmcxj0nbvjr0h5-swift-corefoundation-unstable-2018-09-14/Library/Frameworks/CoreFoundation.framework/Headers with non-directory ./store/g5jyll5lvk9skl11l7pmcxj0nbvjr0h5-swift-corefoundation-unstable-2018-09-14/Library/Frameworks/CoreFoundation.framework/Headers
cp: cannot overwrite directory /nix/store/g5jyll5lvk9skl11l7pmcxj0nbvjr0h5-swift-corefoundation-unstable-2018-09-14/Library/Frameworks/CoreFoundation.framework/Modules with non-directory ./store/g5jyll5lvk9skl11l7pmcxj0nbvjr0h5-swift-corefoundation-unstable-2018-09-14/Library/Frameworks/CoreFoundation.framework/Modules

---- oh no! --------------------------------------------------------------------
Oh no, 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/new?labels=installer&template=installer.md

Or get in touch with the community: https://nixos.org/community

Priorities

Add 👍 to issues you find important.

@abathur
Copy link
Member

abathur commented Nov 9, 2023

You'll have to follow the uninstall instructions before reinstalling it: https://nixos.org/manual/nix/stable/installation/uninstall.html#macos

For future reference: If you are reinstalling because Nix was missing from your PATH after a macOS update, you don't have to reinstall to fix this. The macOS update is overwriting the shell hook, but you can just replace it. See #3616 for more.

@venkateshkumaar
Copy link
Author

It worked! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants