Open njaremko opened 2 years ago
Ran the install script on an install with an unencrypted nix volume
as meaning you were trying to reinstall Nix over an existing install that had an unencrypted volume? If so, were you having a problem with the existing install that led you to try reinstalling?Is still an issue. I wanted a new nix version (Would have been better to just update with nix). It hangs at
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo /usr/sbin/diskutil unmount force disk1s6
to ensure the Nix volume is not mounted
Volume Nix Store on disk1s6 force-unmounted
@StillerHarpo No more lines? There's been an occasional issue in the past with hangs in roughly this part of the code, but I think it should've gotten a section further, as shown in this comment: https://github.com/NixOS/nix/issues/5547#issuecomment-1023488300
If you're using Terminal.app, you can right-click, Show Inspector, and see what processes are running. In the case I linked, I would expect it to show diskutil running repeatedly--but I'm not quite sure if that'll be the cause here.
I don't have the terminal with the hang anymore. I manged to install nix by deleting the old store and restarting the install script multiple times.
Describe the bug Two, probably related, bugs:
Ran it again with the encrypted nix volume unmounted, and it finally worked, until it hit:
to copy the basic Nix files to the new store at /nix/store
cp: /nix/store/69dskd4cabzl6cxch5lbfss73l3r6bya-apple-framework-Security/Library/Frameworks/Security.framework/Resources and ./store/69dskd4cabzl6cxch5lbfss73l3r6bya-apple-framework-Security/Library/Frameworks/Security.framework/Resources are identical (not copied). cp: /nix/store/69dskd4cabzl6cxch5lbfss73l3r6bya-apple-framework-Security/Library/Frameworks/Security.framework/Versions/A/Resources and ./store/69dskd4cabzl6cxch5lbfss73l3r6bya-apple-framework-Security/Library/Frameworks/Security.framework/Versions/A/Resources are identical (not copied). cp: /nix/store/69dskd4cabzl6cxch5lbfss73l3r6bya-apple-framework-Security/Library/Frameworks/Security.framework/Versions/Current/Resources and ./store/69dskd4cabzl6cxch5lbfss73l3r6bya-apple-framework-Security/Library/Frameworks/Security.framework/Versions/Current/Resources are identical (not copied). cp: /nix/store/s3dhqrdq6mj935q2pfgw373w0n8459m1-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Resources and ./store/s3dhqrdq6mj935q2pfgw373w0n8459m1-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Resources are identical (not copied). cp: /nix/store/s3dhqrdq6mj935q2pfgw373w0n8459m1-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/A/Resources and ./store/s3dhqrdq6mj935q2pfgw373w0n8459m1-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/A/Resources are identical (not copied). cp: /nix/store/s3dhqrdq6mj935q2pfgw373w0n8459m1-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/Current/Resources and ./store/s3dhqrdq6mj935q2pfgw373w0n8459m1-apple-framework-IOKit/Library/Frameworks/IOKit.framework/Versions/Current/Resources are identical (not copied).
---- 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:
and rerunning install finally worked