Open alskipp opened 6 months ago
Hm, that's very strange. At first glance, this looks similar to https://github.com/DeterminateSystems/nix-installer/issues/520 and https://github.com/NixOS/nix/issues/6499 (aside from being different services that are failing) -- could you try running the following and then attempting to install again?
sudo launchctl enable system/org.nixos.darwin-store
This was encountered after an unsuccessful uninstall on a colleague's laptop, so I'm sure it's related to that.
After running the uninstaller the nix store had to be manually deleted (via Disk Utility) and the config in `/etc/fstab/ was also manually removed. There was one more thing that needed cleanup (recommended by the installer) which I can't recall right now!
Afterward a restart the installer was run again with:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install macos
Which is when the error occurred.
I believe they've managed to resolve the issue now, but I don't have to hand exactly what they did.
Additional log info missing from the initial report:
INFO Step: Create an APFS volume `Nix Store` for Nix on `disk3` and add it to `/etc/fstab` mounting on `/nix`
ERROR Error saving receipt: RecordingReceipt("/nix/receipt.json", Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })
Error
Metadata