Yann Büchau :python: on Nostr: I very often have to 'rm -rf ~/.cache/nix' so I can continue working with 'nix flake ...
I very often have to 'rm -rf ~/.cache/nix' so I can continue working with 'nix flake ...'. Either it's weird errors that some path in /nix/store/... is not found or it does not use update the flake from the specified url but uses an old version.
I'm sure there is a better way than manually nuking the cache? 🤔
#NixOS #nix #flakes
Published at
2023-11-23 11:02:37Event JSON
{
"id": "0172b5da83abb44628f319461954f97d2afc909871a7af10c97b01a637b1def3",
"pubkey": "0abc897a05eca0849f658dc45fb983e46041d357150b09df857131e7a7552848",
"created_at": 1700737357,
"kind": 1,
"tags": [
[
"t",
"nixos"
],
[
"t",
"nix"
],
[
"t",
"flakes"
],
[
"proxy",
"https://fosstodon.org/users/nobodyinperson/statuses/111459523479909920",
"activitypub"
]
],
"content": "I very often have to 'rm -rf ~/.cache/nix' so I can continue working with 'nix flake ...'. Either it's weird errors that some path in /nix/store/... is not found or it does not use update the flake from the specified url but uses an old version.\n\nI'm sure there is a better way than manually nuking the cache? 🤔\n\n#NixOS #nix #flakes",
"sig": "676c324ae36302ded4f31625035411e4a5d9573af960cb2c084edd123c20d36c6b6e79a1ca5e9808c5c74f3ef879baa832ded2c245186f27775b4bcb8060db3d"
}