You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some derivations in CI pipelines are only used to make sure they build successfully, and they don't change that often.
However when using nix build ..., even if a derivation was built before and is in cachix, all the artifacts will be downloaded ... just to throw them away immediately.
Is there a way to make nix not download anything if a given derivation is already in a binary cache? That would save a lot of time and probably bandwidth.
Some:
nix build --do-nothing-if-exists-in-cache
The text was updated successfully, but these errors were encountered:
Some derivations in CI pipelines are only used to make sure they build successfully, and they don't change that often.
However when using
nix build ...
, even if a derivation was built before and is in cachix, all the artifacts will be downloaded ... just to throw them away immediately.Is there a way to make nix not download anything if a given derivation is already in a binary cache? That would save a lot of time and probably bandwidth.
Some:
The text was updated successfully, but these errors were encountered: