Impermanence: Difference between revisions

imported>Klaymore
Add troubleshooting section for updating from 21.11
imported>Klaymore
Update "failed to produce oputput path" section
Line 212: Line 212:
=== Troubleshooting ===
=== Troubleshooting ===


==== Updating from 21.11 to 22.05 or Unstable ====
==== builder for '/nix/store/file-name.service.drv' failed to produce output path for output 'out' at '/nix/store/file-name.service' ====


If it says <code>builder for '/nix/store/file-name.service.drv' failed to produce output path for output 'out' at '/nix/store/file-name.service'</code> after updating your channel from 21.11, then it seems to be because that output path already exists in the Nix store. One possible solution is booting into a NixOS live USB, removing your nix store, and then running a <code>nixos-install</code>.
This only happens on versions later than 21.11. It seems to be because that output path already exists in the Nix store. A fresh 22.05 install does not fix the issue.