diff options
| author | tv <tv@krebsco.de> | 2026-11-16 23:47:16 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-16 23:47:16 +0000 |
| commit | fb7a621f580caf6d31e0b807d070a7231416538d (patch) | |
| tree | 79365d0c5c08e7833f9166e15c8894668ba96958 /modules/host/egress.lua | |
| parent | e3fea8300d452b64dfc0bdd7e662193a1c92010c (diff) | |
don't hash nixpkgs on every evaluation
"${pkgs.path}" copies nixpkgs to the store, which means hashing all of
it, on every evaluation, even when it's a store path already. That
took no-op builds from ~3s to ~25s. Use builtins.storePath when it's a
store path; only a nixpkgs outside the store still gets copied.
Diffstat (limited to 'modules/host/egress.lua')
0 files changed, 0 insertions, 0 deletions
