Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't remove determinate nix with /nix/nix-installer uninstall #1402

Open
onnimonni opened this issue Jan 30, 2025 · 0 comments
Open

Can't remove determinate nix with /nix/nix-installer uninstall #1402

onnimonni opened this issue Jan 30, 2025 · 0 comments

Comments

@onnimonni
Copy link

Context

$ sudo /nix/nix-installer uninstall
 INFO nix-installer v0.34.0
 INFO nix-installer v0.34.0
Nix uninstall plan (v0.34.0)

Planner: macos

Configured settings:
* determinate_nix: true
* root_disk: null
* ssl_cert_file: "/etc/nix/macos-keychain.crt"
* volume_encrypt: true

Planned actions:
* Remove the Determinate Nix daemon
* Delete file `/Library/LaunchDaemons/systems.determinate.nix-installer.nix-hook.plist`
* Remove the Nix configuration from zsh's non-login shells
* Unconfigure the shell profiles
* Remove the Nix configuration in `/etc/nix/nix.conf`
* Unset the default Nix profile
* Remove time machine exclusions
* Remove Nix users and group
* Remove the directory tree in `/nix`
* 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
ERROR Uninstallation complete, some errors encountered
Error:
   0: Error reverting
   0: Action `create_determinate_volume_service` errored
      Remove file `/Library/LaunchDaemons/systems.determinate.nix-store.plist`
   0:

Location:
   src/cli/subcommand/uninstall.rs:195

Error

Error: 
   0: Error reverting
   0: Action `create_determinate_volume_service` errored
      Remove file `/Library/LaunchDaemons/systems.determinate.nix-store.plist`

Metadata

key value
version 0.34.0
os macos
arch aarch64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant