Open 4lend opened 7 months ago
You didn't include the install output here, so there's not much i can advise accept following the uninstsll instructions and trying again.
https://nixos.org/manual/nix/stable/installation/uninstall.html#macos
I got this error message.
~~> Installing Nix
---- sudo execution ------------------------------------------------------------ I am executing:
$ sudo cp -RPp ./store/03b03l8nd7jh3rc6299f4fb69pyv55vc-apple-framework-Security ./store/19qicmpzl7ir3hbcwknms5zs467wsbl5-aws-c-cal-0.6.0 ./store/1a2yawvb4rslqjiz0xxxd8db615f7zli-curl-8.4.0 ./store/275j4vhcvyn0lmfx3x8cvfyzgiy27ri5-aws-crt-cpp-0.20.3 ./store/4s8gbiyk6yd8mcwx855p5gh0s1fi8mj0-aws-checksums-0.1.17 ./store/6ayly87jd307zrm1xaz3saw59pfskv3x-openssl-3.0.13 ./store/6y1krpbjvcbzf14lk29g2f17rvjpa97g-aws-sdk-cpp-1.11.118 ./store/7k29kaypnbq1sh6k82pl4caw2y977acg-aws-c-io-0.13.29 ./store/7xl1d51icgq7nz595p1bdbcvi0hzb15a-aws-c-common-0.8.23 ./store/8n548szfg2irkfsdlsqd7nfcli45xk4j-aws-c-event-stream-0.3.1 ./store/930ld35fx3jmkfk6g3wm4z0m7479bbm6-nix-2.21.0 ./store/99dw61zlcqjqyjny262zvxb1czgjqydq-apple-framework-IOKit ./store/bh1lkpcbjn9d8m5dms4zgc8dymcjax0v-libxml2-2.11.7 ./store/bm4281qwanc096laq724r36p5nii1ci2-libunistring-1.1 ./store/c85ma0ndm2pymhk6zbn690b7lsphb6v9-libcxxabi-16.0.6 ./store/cjb2f8jdbd0azylcvk384dnb6878lqv8-aws-c-s3-0.3.13 ./store/daqp430z0zg34b92vv1akn89ac7ylk0s-boehm-gc-8.2.2 ./store/ff8s7w30nzm6vdxy9f4bpyylmqwavvyb-brotli-1.1.0-lib ./store/ffhqay2jyzkgvlhp398r46dy6aj4ym3d-libiconv-50 ./store/fymar9dbr5xfl44ymgj6q0h4b303dpm2-zstd-1.5.5 ./store/hgs3ai43fdac79v6dvc2k8zz38jhqfzj-libsodium-1.0.18 ./store/ij33gqd0vjqjx7jrasx0vrgadzz6bpd8-nghttp2-1.57.0-lib ./store/iyk62dgn7xz4bw301r0mibdl362v9fxj-libcxx-16.0.6 ./store/ji0ap870nm8rik4r4bh31c15nlqhsnkw-libcpuid-0.6.4 ./store/l3nnlrm94xfa3g14wfc5n8pr66qg044g-lowdown-1.0.2-lib ./store/mgi86i3s438qqpann5dklnn8zp1jv3ff-aws-c-compression-0.2.17 ./store/mn3qa856bl3gwsdg780hhphcxlzvkgbd-aws-c-sdkutils-0.1.12 ./store/mryy3x5gl5fjrwjmmckk7qv8lbkq1jgf-bash-5.2-p15 ./store/nf2nwkvmb0brs2rwbb8nnpq7fvly2kly-editline-1.17.1 ./store/nx17xhri9yjmi7kxmixwybqsfmiddh6p-http-parser-2.9.4 ./store/rqbgcf509ywcj582c6dcsg1j7gkiw9m4-aws-c-http-0.7.11 ./store/shpjkiz14nr7jkhlxr7qkvnf4kpf33nk-nlohmann_json-3.11.2 ./store/sklszgx5sw99r1a6ls1l8m7rc35rph8f-xz-5.4.4 ./store/sy450p8kyvdabq0ykax2q7md6vff5srm-libidn2-2.3.4 ./store/v9bmr5ql8dxhivxl10cqiji9lmrhwy6m-zlib-1.3 ./store/wikpz896b5d9gd934h7bck3z6fcxl29i-aws-c-mqtt-0.8.14 ./store/x5v827v5jkxyff2zs3ix96rz7qs4942v-aws-c-auth-0.7.0 ./store/x7anzw989p9kn6gzpkfnklih2zbdapwa-libgit2-20231018162940 ./store/xk2dkhsz6rqxpv4w69cjnq45f0nh5qnd-bzip2-1.0.8 ./store/xpac4vxp0vxvw4nb91svv8m7j8hsyn5z-libarchive-3.7.2-lib ./store/xr95gxppb6v9g8v7mjm7mhbdhymqhhrk-sqlite-3.43.2 ./store/y6jbgha0vsw8k8pxmj0jla0jdb0mplrc-nss-cacert-3.95 ./store/y6pd27j4fqk2xi19d850czzz81py0254-libkrb5-1.20.2 ./store/ygdixmn2z15qyfbz1qf8wc0skmgq7gbj-Libsystem-1238.60.2 ./store/yqhlqpn7vwj00aql88x5zimx7php8ihr-libssh2-1.11.0 /nix/store/
to copy the basic Nix files to the new store at /nix/store
cp: cannot overwrite directory /nix/store/03b03l8nd7jh3rc6299f4fb69pyv55vc-apple-framework-Security/Library/Frameworks/Security.framework/Resources with non-directory ./store/03b03l8nd7jh3rc6299f4fb69pyv55vc-apple-framework-Security/Library/Frameworks/Security.framework/Resources cp: cannot overwrite directory /nix/store/03b03l8nd7jh3rc6299f4fb69pyv55vc-apple-framework-Security/Library/Frameworks/Security.framework/Versions/A/Resources with non-directory ./store/03b03l8nd7jh3rc6299f4fb69pyv55vc-apple-framework-Security/Library/Frameworks/Security.framework/Versions/A/Resources cp: cannot overwrite directory /nix/store/03b03l8nd7jh3rc6299f4fb69pyv55vc-apple-framework-Security/Library/Frameworks/Security.framework/Versions/Current with non-directory ./store/03b03l8nd7jh3rc6299f4fb69pyv55vc-apple-framework-Security/Library/Frameworks/Security.framework/Versions/Current cp: cannot overwrite directory /nix/store/03b03l8nd7jh3rc6299f4fb69pyv55vc-apple-framework-Security/Library/Frameworks/Security.framework/Headers with non-directory ./store/03b03l8nd7jh3rc6299f4fb69pyv55vc-apple-framework-Security/Library/Frameworks/Security.framework/Headers cp: cannot overwrite directory /nix/store/99dw61zlcqjqyjny262zvxb1czgjqydq-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Resources with non-directory ./store/99dw61zlcqjqyjny262zvxb1czgjqydq-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Resources cp: cannot overwrite directory /nix/store/99dw61zlcqjqyjny262zvxb1czgjqydq-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/A/Resources with non-directory ./store/99dw61zlcqjqyjny262zvxb1czgjqydq-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/A/Resources cp: cannot overwrite directory /nix/store/99dw61zlcqjqyjny262zvxb1czgjqydq-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/Current with non-directory ./store/99dw61zlcqjqyjny262zvxb1czgjqydq-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/Current cp: cannot overwrite directory /nix/store/99dw61zlcqjqyjny262zvxb1czgjqydq-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Headers with non-directory ./store/99dw61zlcqjqyjny262zvxb1czgjqydq-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Headers cp: cannot overwrite directory /nix/store/y6pd27j4fqk2xi19d850czzz81py0254-libkrb5-1.20.2/sbin with non-directory ./store/y6pd27j4fqk2xi19d850czzz81py0254-libkrb5-1.20.2/sbin
---- 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
Sounds like you already had an install. The installer currently isn't idempotent, so 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.
Platform
Additional information
Output
Output
```log ```Priorities
Add :+1: to issues you find important.