3 ms·
Doesn't this still copy the repo, but just doesn't unzip it?
by tangjurine 3y ago
Doesn't this still copy the repo, but just doesn't unzip it?
- hamandcheese 3y agoI think it only lazily copies files that are referenced by your nix expression. I tested this branch, and a flake-based shell launched in 3 seconds inside a large monorepo (vs 30 seconds before). I don't think it is possible to copy this repo in 3 seconds.
- takeda 3y agoI hope that helps with nixpkgs repo as this takes a lot of time whenever it is updated.
- hamandcheese 3y agoI don't think it will. There isn't any good way to incrementally fetch remote nix files, so to use nixpkgs it all has to be downloaded and unpacked.
- hamandcheese 3y agoUnless you mean when developing on the nixpkgs repo, in which case it could help.