DeterminateSystems / nix-installer

Install Nix and flakes with the fast and reliable Determinate Nix Installer, with over 7 million installs.
https://determinate.systems
GNU Lesser General Public License v2.1
2.22k stars 57 forks source link

Install issue #1275

Open yleclercq-pass opened 4 hours ago

yleclercq-pass commented 4 hours ago

Description

I install Nix via DeterminateSystems it work wells for a while. I had a problem so i tried to uninstall nix with : /nix/nix-installer uninstall

i tried to reinstall again and i had an error. So i rebooted my Mac and try to reinstall : curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --ssl-cert-file '/Library/Application Support'/*/*/data/*cacert.pem

Again an error. So i tried to uninstall it manually following this documentation : https://nix.dev/manual/nix/2.18/installation/uninstall

I rebooted and again i tried to reinstall with the same command curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --ssl-cert-file '/Library/Application Support'/*/*/data/*cacert.pem

And finally i've got this error and i'm blocked :

Error

ERROR Error saving receipt: RecordingReceipt("/nix/receipt.tmp", Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })
Error: 
   0: Install failure
   1: Error executing action
   2: Action `create_nix_volume` errored
   3: Action `create_volume_service` errored
   4: Open path `/Library/LaunchDaemons/org.nixos.darwin-store.plist`
   5: No such file or directory (os error 2)

May i ask you some help for this please

Metadata

key value
version 0.27.1
os macos
arch aarch64
cole-h commented 2 hours ago

That's weird... The only time this error should happen is when we're trying to open that, but we also tell Rust to create it if it doesn't exist... Does the /Library/LaunchDaemons directory exist? If not, can you create it? If it does, what are its contents? ls -la /Library/LaunchDaemons