-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
Error
It seems that it had an issue first saving receipt (not sure what that means), then it also errored for a second time (again, not sure how that could possibly work). Actually, this might have been due to messy uninstallation of the vanilla Nix that I installed from the official nixos.org website.
Planned actions:
* Install Determinate Nixd
* Create an encrypted APFS volume `Nix Store` for Nix on `disk3` and add it to `/etc/fstab` mounting on `/nix`
* Extract the bundled Nix (originally from /nix/store/k434b75w6wvy9xbvkyhzyhw5fwrh68b9-nix-binary-tarball-3.13.2/nix-3.13.2-aarch64-darwin.tar.xz) to `/nix/temp-install-dir`
* Create a directory tree in `/nix`
* Synchronize /nix/var ownership
* Move the downloaded Nix into `/nix`
* Synchronize /nix/store ownership
* Create build users (UID 351-382) and group (GID 350)
* Configure Time Machine exclusions
* Setup the default Nix profile
* Place the Nix configuration in `/etc/nix/nix.conf`
* Configure the shell profiles
* Configuring zsh to support using Nix in non-interactive shells
* Create a `launchctl` plist to put Nix into your PATH
* Configure the Determinate Nix daemon
* Remove directory `/nix/temp-install-dir`
Proceed? ([Y]es/[n]o/[e]xplain): y
INFO Step: Install Determinate Nixd
INFO Step: Create an encrypted APFS volume `Nix Store` for Nix on `disk3` and add it to `/etc/fstab` mounting on `/nix`
ERROR Error saving receipt: RecordingReceipt("/nix", Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })
ERROR
0: \x1b[91mInstall failure\x1b[0m
1: \x1b[91mError executing action\x1b[0m
2: \x1b[91mAction `create_determinate_nix_volume` errored\x1b[0m
3: \x1b[91mAction `encrypt_apfs_volume` errored\x1b[0m
4: \x1b[91mFailed to execute command `"/usr/sbin/diskutil" "mount" "Nix Store"`
stdout:
stderr: Volume on disk3s7 failed to mount
exited with status code: 1
\x1b[0m
Location:
\x1b[35m/nix/var/nix/builds/nix-1480-626501576/nix-installer-source/src/cli/subcommand/install/mod.rs\x1b[0m:\x1b[35m234\x1b[0m
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Consider reporting this error using this URL: https://github.com/DeterminateSystems/nix-installer/issues/new?title=%3Cautogenerated-issue%3E&body=%23%23+Error%0A%60%60%60%0AError%3A+%0A+++0%3A+Install+failure%0A+++1%3A+Error+executing+action%0A+++2%3A+Action+%60create_determinate_nix_volume%60+errored%0A+++3%3A+Action+%60encrypt_apfs_volume%60+errored%0A+++4%3A+Failed+to+execute+command+%60%22%2Fusr%2Fsbin%2Fdiskutil%22+%22mount%22+%22Nix+Store%22%60%0A++++++stdout%3A+%0A++++++stderr%3A+Volume+on+disk3s7+failed+to+mount%0A%0A++++++exited+with+status+code%3A+1%0A%0A%60%60%60%0A%0A%23%23+Metadata%0A%7Ckey%7Cvalue%7C%0A%7C--%7C--%7C%0A%7C**version**%7C3.13.2%7C%0A%7C**os**%7Cmacos%7C%0A%7C**arch**%7Caarch64%7C%0A
Installation failure, offering to revert...
Nix uninstall plan (v3.13.2)
Planner: macos (with default settings)
Planned actions:
* Remove the APFS volume `Nix Store` on `disk3`
* Remove the Determinate Nix superpowers
Proceed? ([Y]es/[n]o/[e]xplain): y
INFO Revert: Remove directory `/nix/temp-install-dir`
INFO Revert: Configure the Determinate Nix daemon
INFO Revert: Create a `launchctl` plist to put Nix into your PATH
INFO Revert: Configuring zsh to support using Nix in non-interactive shells
INFO Revert: Configure Nix
INFO Revert: Configure Time Machine exclusions
INFO Revert: Create build users (UID 351-382) and group (GID 350)
INFO Revert: Provision Nix
INFO Revert: Create an encrypted APFS volume `Nix Store` for Nix on `disk3` and add it to `/etc/fstab` mounting on `/nix`
INFO Revert: Install Determinate Nixd
0: Multiple errors
Location:
/nix/var/nix/builds/nix-1480-626501576/nix-installer-source/src/cli/subcommand/install/mod.rs:266
Error:
0: Action `encrypt_apfs_volume` errored
1: Failed to execute command `"/usr/bin/security" "delete-generic-password" "-a" "Nix Store" "-s" "Nix Store" "-l" "disk3 encryption password" "-D" "Encrypted volume password" "-j" "Added automatically by the Nix installer for use by /Library/LaunchDaemons/org.nixos.darwin-store.plist"`
stdout:
stderr: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.
exited with status code: 44
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Consider reporting this error using this URL: https://github.com/DeterminateSystems/nix-installer/issues/new?title=%3Cautogenerated-issue%3E&body=%23%23+Error%0A%60%60%60%0AError%3A+%0A+++0%3A+Multiple+errors%0A%60%60%60%0A%0A%23%23+Metadata%0A%7Ckey%7Cvalue%7C%0A%7C--%7C--%7C%0A%7C**version**%7C3.13.2%7C%0A%7C**os**%7Cmacos%7C%0A%7C**arch**%7Caarch64%7C%0A
WARN The Determinate Nix Installer failed.
Try our macOS-native package instead, which can handle almost anything:
https://dtr.mn/determinate-nix
Metadata
| key | value |
|---|---|
| version | 3.13.2 |
| os | macos |
| arch | aarch64 |
Metadata
Metadata
Assignees
Labels
No labels