cachix / install-nix-action

Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.
Apache License 2.0
498 stars 78 forks source link

Enable `always-allow-substitutes` by default #207

Closed sandydoo closed 2 months ago

sandydoo commented 2 months ago

A typical CI machine will have fast internet access, but may not have all the inputs already in the store to rebuild trivial derivations marked with allowSubstitutes = false. This leads to expensive cycles of downloads and rebuilds for derivations like the top-level NixOS system, which will be rebuilt from scratch on every CI run, despite being cached.