Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: only build uncached derivations #426

Merged
merged 9 commits into from
Oct 15, 2023
Merged

ci: only build uncached derivations #426

merged 9 commits into from
Oct 15, 2023

Conversation

ipetkov
Copy link
Owner

@ipetkov ipetkov commented Oct 15, 2023

Motivation

Even when a derivation is cached, nix build will still download it. I'm not 100% sure if nix flake check still downloads cached derivations or not, but there's no harm in ensuring we never download cached derivations by using nix-eval-jobs

Checklist

  • added tests to verify new behavior
  • added an example template or updated an existing one
  • updated docs/API.md (or general documentation) with changes
  • updated CHANGELOG.md

@ipetkov ipetkov enabled auto-merge (squash) October 15, 2023 19:29
@ipetkov ipetkov merged commit e5ec5d9 into master Oct 15, 2023
8 checks passed
@ipetkov ipetkov deleted the fast-ci branch October 15, 2023 20:07
#!/usr/bin/env bash
curSystem=$(nix eval --raw --impure --expr builtins.currentSystem)

nixEvalJobsArgs=()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Why does it have to be such a long and involved process to do such a popular and needed thing...

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you find out let me know cuz I'm also curious!

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.

2 participants