-
Notifications
You must be signed in to change notification settings - Fork 247
Add evalSystem
and evalPackages
project args
#1546
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
6ce3db2
Add `evalSystem` project argument
hamishmack 703b38e
Merge remote-tracking branch 'origin/master' into hkm/eval-system
hamishmack 8d4ff4c
Drop `pkgs.evalPackages`, add project arg instead
hamishmack 96e1fd3
Move hackage-quirks to /modules
hamishmack 3a20232
Move fetchgit fix
hamishmack 64f4d9c
Only allow single module for projectModule tools
hamishmack 24b82e7
Better fix for gitMinimal issue
hamishmack 93ce316
Add comments
hamishmack ade33e2
Make `hackage-tool` take multiple modules
hamishmack a6555d3
Use explicit evalPackages for cleanGit in tests
hamishmack 0ded07f
Fix hydra job eval without builders
hamishmack b7b3c02
Fix for ghcjs <8.10
hamishmack 468d425
Fix for check-hydra eval
hamishmack 8f92091
Stop depending on builtins.currentSystem
hamishmack 63559e2
Fix for aarch64-linux
hamishmack fe0895a
Fix cabal-install hackage-quirks for cross
hamishmack 13631f3
Fix musl cross compile
hamishmack 2cc07bd
Merge remote-tracking branch 'origin/master' into hkm/eval-system
hamishmack 7ade088
Fix evalPackages in ci for cross compilers
hamishmack 848c79e
Add change log entry
hamishmack 15bb1f2
typo
hamishmack 08bf47c
Update project option descriptions
hamishmack ccc01fc
Merge remote-tracking branch 'origin/master' into hkm/eval-system
hamishmack 759adf7
Merge remote-tracking branch 'origin/master' into hkm/eval-system
hamishmack 07a8daa
Update changelog.md
hamishmack File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these changes actually okay? Won't this again mean that you can't eval without a build machine of the right system, because it will try and clean the source on a build machine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for the other places where this switch happens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure about
cleanGit
. It should be ok on CI where.git
does not exist, but it may fail for local evals. I'll do some tests.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I guess it should be fairly obvious if you try building a darwin derivation when you don't have a darwin machine or something. If it works then I'm happy! It just seems suspicious - presumably it means that the usage of
evalPackages
was actually unncessary in each of these places to begin with?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a situation when not using flakes (so
cleanGit
would have work to do) and cross compiling where this would have been useful so I have included a note in the change log.