Hacker News new | ask | show | jobs
by amarshall 588 days ago
Nix already has some builtin deduplication, see `man nix-store-optimise`. Nix’s own hardlinking optimization reduces disk usage of the store (for me) by 30–40%.
2 comments

Update. Turns out PyCharm does not play nice with a plethora of symlinks. :(
Nix optimise does not use symlinks, it uses hardlinks.
Well, TIL. Being relatively new to nix, you’ve let me down another rabbit hole :)