Why arent flake inputs FOD/Content addressed?

Hi,

I’ve often noticed that if I try to run a flake I’ve previously ran under another user all inputs will have to be downloaded again. I’m curious why the reasoning behind that decision might be since the lockfile specifies hashes for inputs which means making the inputs FODs should be straight forward.

I never experienced any redownloads except for collected inputs…

1 Like

might be cause ~/.cache/nix/fetcher-cache-v1.sqlite is stored per user, and it may check the tarballs from the server if the rev matches the lock file, it should not download anything else afaik