Skip to content

Instantly share code, notes, and snippets.

@feynon
Last active December 12, 2023 05:03
Show Gist options
  • Save feynon/c1fb54a0999b02ac5d41c2b9748851ae to your computer and use it in GitHub Desktop.
Save feynon/c1fb54a0999b02ac5d41c2b9748851ae to your computer and use it in GitHub Desktop.

Nix Installation and Updating

Preview:
`nix-installer` needs to run as `root`, attempting to escalate now via `sudo`...
Nix uninstall plan (v0.14.0)

Planner: macos (with default settings)

Planned actions:
* Unconfigure Nix daemon related settings with launchctl
* Delete file `/Library/LaunchDaemons/systems.determinate.nix-installer.nix-hook.plist`
* 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`


Proceed? ([Y]es/[n]o/[e]xplain): yes
 INFO Revert: Remove directory `/nix/temp-install-dir`
 INFO Revert: Configure Nix daemon related settings with launchctl
 INFO Revert: Create a `launchctl` plist to put Nix into your PATH
 INFO Revert: Configure Nix
 INFO Revert: Configure Time Machine exclusions
 INFO Revert: Create build users (UID 300-332) and group (GID 30000)
 INFO Revert: Provision Nix
 INFO Revert: Create an APFS volume `Nix Store` for Nix on `disk3` and add it to `/etc/fstab` mounting on `/nix`
ERROR Uninstallation complete, some errors encountered
Error:
   0: Error reverting
   0: Action `create_nix_hook_service` errored
      Remove file `/Library/LaunchDaemons/systems.determinate.nix-installer.nix-hook.plist`

      Action `configure_nix` errored
      Multiple child errors

      Action `configure_shell_profile` errored
      Multiple child errors

      Action `create_directory` errored
      Read path `/etc/profile.d`

      Action `create_directory` errored
      Read path `/etc/zsh`


      Action `place_nix_configuration` errored
      Multiple child errors

      Action `create_or_merge_nix_config` errored
      Remove file `/etc/nix/nix.conf`

      Action `create_directory` errored
      Read path `/etc/nix`



      Action `set_tmutil_exclusion` errored
      Failed to execute command with status 22 `"tmutil" "removeexclusion" "/nix/var"`, stdout:
      stderr: /nix/var: Error (-43) while attempting to change exclusion setting.



      Action `create_users_and_group` errored
      Multiple child errors

      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld1"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld2"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld3"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld4"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld5"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld6"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld7"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld8"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld9"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld10"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld11"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld12"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld13"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld14"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld15"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld16"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld17"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld18"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld19"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld20"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld21"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld22"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld23"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld24"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld25"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld26"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld27"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld28"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld29"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld30"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld31"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld32"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)



      Action `create_group` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Groups/nixbld"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)




      Action `create_nix_tree` errored
      Multiple child errors

      Action `create_directory` errored
      Read path `/nix/var/nix/daemon-socket`

      Action `create_directory` errored
      Read path `/nix/var/nix/userpool`

      Action `create_directory` errored
      Read path `/nix/var/nix/temproots`

      Action `create_directory` errored
      Read path `/nix/var/nix/profiles/per-user`

      Action `create_directory` errored
      Read path `/nix/var/nix/profiles`

      Action `create_directory` errored
      Read path `/nix/var/nix/gcroots/per-user`

      Action `create_directory` errored
      Read path `/nix/var/nix/gcroots`

      Action `create_directory` errored
      Read path `/nix/var/nix/db`

      Action `create_directory` errored
      Read path `/nix/var/nix`

      Action `create_directory` errored
      Read path `/nix/var/log/nix/drvs`

      Action `create_directory` errored
      Read path `/nix/var/log/nix`

      Action `create_directory` errored
      Read path `/nix/var/log`

      Action `create_directory` errored
      Read path `/nix/var`


      Action `create_nix_volume` errored
      Multiple child errors

      Action `bootstrap_launchctl_service` errored
      Failed to execute command with status 5 `"launchctl" "bootout" "system" "/Library/LaunchDaemons/org.nixos.darwin-store.plist"`, stdout:
      stderr: Boot-out failed: 5: Input/output error



      Action `create_volume_service` errored
      Remove file `/Library/LaunchDaemons/org.nixos.darwin-store.plist`

      Action `create_apfs_volume` errored
      Failed to execute command with status 1 `"/usr/sbin/diskutil" "apfs" "deleteVolume" "Nix Store"`, stdout: Started APFS operation
      Deleting APFS Volume from its APFS Container
      Unmounting disk3s7
      The volume "Nix Store" on disk3s7 couldn't be unmounted because it is in use by process 0 (kernel)

      stderr: Error: -69888: Couldn't unmount disk



   0:

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

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+Error+reverting%0A+++0%3A+Action+%60create_nix_hook_service%60+errored%0A++++++Remove+file+%60%2FLibrary%2FLaunchDaemons%2Fsystems.determinate.nix-installer.nix-hook.plist%60%0A%0A++++++Action+%60configure_nix%60+errored%0A++++++Multiple+child+errors%0A%0A++++++Action+%60configure_shell_profile%60+errored%0A++++++Multiple+child+errors%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fetc%2Fprofile.d%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fetc%2Fzsh%60%0A%0A%0A++++++Action+%60place_nix_configuration%60+errored%0A++++++Multiple+child+errors%0A%0A++++++Action+%60create_or_merge_nix_config%60+errored%0A++++++Remove+file+%60%2Fetc%2Fnix%2Fnix.conf%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fetc%2Fnix%60%0A%0A%0A%0A++++++Action+%60set_tmutil_exclusion%60+errored%0A++++++Failed+to+execute+command+with+status+22+%60%22tmutil%22+%22removeexclusion%22+%22%2Fnix%2Fvar%22%60%2C+stdout%3A+%0A++++++stderr%3A+%2Fnix%2Fvar%3A+Error+%28-43%29+while+attempting+to+change+exclusion+setting.%0A%0A%0A%0A++++++Action+%60create_users_and_group%60+errored%0A++++++Multiple+child+errors%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld1%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld2%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld3%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld4%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld5%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld6%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld7%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld8%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld9%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld10%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld11%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld12%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld13%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld14%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld15%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld16%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld17%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld18%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld19%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld20%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld21%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld22%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld23%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld24%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld25%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld26%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld27%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld28%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld29%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld30%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld31%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_user%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FUsers%2F_nixbld32%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A++++++Action+%60create_group%60+errored%0A++++++Failed+to+execute+command+with+status+185+%60%22%2Fusr%2Fbin%2Fdscl%22+%22.%22+%22-delete%22+%22%2FGroups%2Fnixbld%22%60%2C+stdout%3A+delete%3A+Invalid+Path%0A%0A++++++stderr%3A+%3Cdscl_cmd%3E+DS+Error%3A+-14009+%28eDSUnknownNodeName%29%0A%0A%0A%0A%0A++++++Action+%60create_nix_tree%60+errored%0A++++++Multiple+child+errors%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%2Fnix%2Fdaemon-socket%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%2Fnix%2Fuserpool%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%2Fnix%2Ftemproots%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%2Fnix%2Fprofiles%2Fper-user%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%2Fnix%2Fprofiles%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%2Fnix%2Fgcroots%2Fper-user%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%2Fnix%2Fgcroots%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%2Fnix%2Fdb%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%2Fnix%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%2Flog%2Fnix%2Fdrvs%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%2Flog%2Fnix%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%2Flog%60%0A%0A++++++Action+%60create_directory%60+errored%0A++++++Read+path+%60%2Fnix%2Fvar%60%0A%0A%0A++++++Action+%60create_nix_volume%60+errored%0A++++++Multiple+child+errors%0A%0A++++++Action+%60bootstrap_launchctl_service%60+errored%0A++++++Failed+to+execute+command+with+status+5+%60%22launchctl%22+%22bootout%22+%22system%22+%22%2FLibrary%2FLaunchDaemons%2Forg.nixos.darwin-store.plist%22%60%2C+stdout%3A+%0A++++++stderr%3A+Boot-out+failed%3A+5%3A+Input%2Foutput+error%0A%0A%0A%0A++++++Action+%60create_volume_service%60+errored%0A++++++Remove+file+%60%2FLibrary%2FLaunchDaemons%2Forg.nixos.darwin-store.plist%60%0A%0A++++++Action+%60create_apfs_volume%60+errored%0A++++++Failed+to+execute+command+with+status+1+%60%22%2Fusr%2Fsbin%2Fdiskutil%22+%22apfs%22+%22deleteVolume%22+%22Nix+Store%22%60%2C+stdout%3A+Started+APFS+operation%0A++++++Deleting+APFS+Volume+from+its+APFS+Container%0A++++++Unmounting+disk3s7%0A++++++The+volume+%22Nix+Store%22+on+disk3s7+couldn%27t+be+unmounted+because+it+is+in+use+by+process+0+%28kernel%29%0A%0A++++++stderr%3A+Error%3A+-69888%3A+Couldn%27t+unmount+disk%0A%0A%0A%0A%0A%60%60%60%0A%0A%23%23+Metadata%0A%7Ckey%7Cvalue%7C%0A%7C--%7C--%7C%0A%7C**version**%7C0.14.0%7C%0A%7C**os**%7Cmacos%7C%0A%7C**arch**%7Caarch64%7C%0A
Associated Context
Type Code Snippet ( .md )
Associated Tags Nix Installation Nix Hooks Shell Props Directory Tree Time Machine Exclusions Build Users Provision Nix Error Handling File Creation Environment Variables
💡 Smart Description This code uninstalls Nix daemon related settings with launchctl, creates a directory tree and mounting on disk3. It also allows users to create or delete the default Nix profile in MacOS systems using LaunchCTL for debugging purposes such as creating an APFS volume store
🔎 Suggested Searches How to uninstall Nix in MacOS?
How to remove the directory tree and group from a PATH using nix-installer?
How to create an APFS volume for Nix on disk3 with launchctl ?
How to configure or delete APM volumes by default settings ?
How to replace any existing files into /etc/nix.conf
Related Links https://kubernetes.io/docs/tasks/access-application-cluster/port-forward-access-application-cluster/
Related People Ankesh Bharti
Sensitive Information No Sensitive Information Detected
Shareable Link https://user-b3bc8d01-9ad8-45e2-893b-fe22c6a3662d-gnltj66l2a-uc.a.run.app/?p=b58f4fbf0f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment