Yann Büchau :python: on Nostr: Interesting to watch how #nix happily navigates itself into a pit of shame if it runs ...
Interesting to watch how #nix happily navigates itself into a pit of shame if it runs out of space under /nix.
(Context: nix on #SailfishOS with /nix mounted from an image file):
https://forum.sailfishos.org/t/installing-the-nix-package-manager-on-sailfishos/17503)
▪nix-env -e does not work or help
▪nix-collect-garbage can't run (you had one job!)
▪manual nix store delete /nix/store/*bla* often doesn't do anythin or complains a package is 'still alive'
So: sudo rm -rf in the /nix/store and retry nix-collect-garbage until it works 🤷
Published at
2023-12-06 13:14:07Event JSON
{
"id": "74a35290086defd213ced3846749edfd8af531def95a936b6f55fc4ecd9b2a06",
"pubkey": "0abc897a05eca0849f658dc45fb983e46041d357150b09df857131e7a7552848",
"created_at": 1701864847,
"kind": 1,
"tags": [
[
"t",
"nix"
],
[
"t",
"sailfishos"
],
[
"proxy",
"https://fosstodon.org/users/nobodyinperson/statuses/111533414665627783",
"activitypub"
]
],
"content": "Interesting to watch how #nix happily navigates itself into a pit of shame if it runs out of space under /nix.\n\n(Context: nix on #SailfishOS with /nix mounted from an image file): https://forum.sailfishos.org/t/installing-the-nix-package-manager-on-sailfishos/17503)\n\n▪nix-env -e does not work or help\n▪nix-collect-garbage can't run (you had one job!)\n▪manual nix store delete /nix/store/*bla* often doesn't do anythin or complains a package is 'still alive'\n\nSo: sudo rm -rf in the /nix/store and retry nix-collect-garbage until it works 🤷",
"sig": "052bb966eb84f83182db88168d78cfdd55a0541361ea9e98db88c130955aa080efef3ca930c6defe73d3d8a97ac4192dd96aa5819415a57d35b2a2a8351a7520"
}