DeterminateSystems / nix-installer

Install Nix and flakes with the fast and reliable Determinate Nix Installer, with over 7 million installs.
https://determinate.systems
GNU Lesser General Public License v2.1
2.15k stars 53 forks source link

Mac APFS volume cannot be unmounted (script) #846

Open shriharip opened 8 months ago

shriharip commented 8 months ago

Error

Error: 
   0: Error reverting
   0: Action `create_or_merge_nix_config` errored
      Remove file `/etc/nix/nix.conf`

      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 disk1s7
      The volume "Nix Store" on disk1s7 couldn't be unmounted because it is in use by process 1310 (script)

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

Metadata

key value
version 0.16.1
os macos
arch x86_64
Hoverbear commented 8 months ago

Similar to https://github.com/DeterminateSystems/nix-installer/issues/836