Closed dezren39 closed 1 month ago
this sent me to a different error
diskutil apfs deleteVolume "Nix Store"
sudo security delete-generic-password -a "Nix Store" -s "Nix Store" -l "disk3 encryption password" -D "Encrypted volume password"
curl --proto '=https' --tlsv1.2 -sSf -L \
https://install.determinate.systems/nix | \
sh -s -- install --determinate
Error:
0: Planner error
1: Error executing action
2: Action `create_determinate_nix_volume` errored
3: Action `create_determinate_volume_service` errored
4: `/Library/LaunchDaemons/systems.determinate.nix-store.plist` contents differs, planned `LaunchctlMountPlist { run_at_load: true, label: "systems.determinate.nix-store", program_arguments: ["/usr/local/bin/determinate-nixd", "init"], standard_error_path: "/var/log/determinate-nix-init.log", standard_out_path: "/var/log/determinate-nix-init.log" }`, discovered `LaunchctlMountPlist { run_at_load: true, label: "systems.determinate.nix-store", program_arguments: ["/usr/local/bin/determinate-nixd", "--nix-bin", "/nix/store/1n95r340s7p3vdwqh7m94q0a42crahqq-nix-2.24.9/bin", "init"], standard_error_path: "/var/log/determinate-nix-init.log", standard_out_path: "/var/log/determinate-nix-init.log" }`
Location:
src/cli/subcommand/install.rs:200
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
repair tool suggested in #1231 didn't help
this step changed error , but after i had already ran these-- some combination
# install fails volume
diskutil apfs deleteVolume "Nix Store"
sudo security delete-generic-password -a "Nix Store" -s "Nix Store" -l "disk3 encryption password" -D "Encrypted volume password"
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/v0.26.0 | sh -s -- repair sequoia --move-existing-users
# install fails plist
sudo rm /usr/local/bin/determinate*
sudo rm /Library/LaunchDaemons/systems.determinate.nix-*
# install fails autouninstall fails
nix --extra-experimental-features "nix-command flakes" run nix-darwin#darwin-uninstaller
# no nix
curl -L https://nixos.org/nix/install | sh -s -- --daemon
# nix deletes volume for me? didn't show up in diskutil apfs earlier..
# fails on volume mount
sudo rm /etc/synthetic.conf
curl -L https://nixos.org/nix/install | sh -s -- --daemon
# touch: /etc/bashrc: No such file or directory
. /etc/profile.d/nix.sh
i can't uninstall nix without uninstalling nix darwin but i need a working nix in order to uninstall nix darwin
one of those commands probably fixed it but also broke some basic stuff in my shell, a hard reboot of my entire mac made the same installer work on next try
after installed, i had to run this https://github.com/DeterminateSystems/nix-installer/issues/608#issuecomment-1692499816 and then install nix again and then uninstall nix darwin and then add nixpkg/darwin channels and then remove my /etc/nix/nix.conf and then install nix darwin then my flake built with darwin-rebuild
I was trying to reinstall nix because something messed up and now my nix disk is asking for a password to add to keychain but idk what to put there my password didn't work.
Error
Metadata