Hacker News new | ask | show | jobs
by rnhmjoj 1101 days ago
It's a known issue but fortunately is being worked on: https://github.com/NixOS/nix/pull/6530
1 comments

Doesn't this still copy the repo, but just doesn't unzip it?
I 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.

I hope that helps with nixpkgs repo as this takes a lot of time whenever it is updated.
I 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.
Unless you mean when developing on the nixpkgs repo, in which case it could help.