Skip to content

Skip substituter checks for trivial builders#7

Open
typedrat wants to merge 1 commit intomightyiam:mainfrom
synapdeck:dont-substitute
Open

Skip substituter checks for trivial builders#7
typedrat wants to merge 1 commit intomightyiam:mainfrom
synapdeck:dont-substitute

Conversation

@typedrat
Copy link

The file generation derivation and the flake check derivation are both trivial local builds — just writing/diffing text files. There's no point hitting substituters for these, and skipping the check speeds up evaluation noticeably.

  • Set allowSubstitutes = false + preferLocalBuild = true on the file builder's derivationArgs
  • Switch the check from runCommand to runCommandLocal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant