-
Notifications
You must be signed in to change notification settings - Fork 28
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
Fix the static build #123
Fix the static build #123
Conversation
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.
A few small nits but on the overarching picture, this is almost done!
glibcLocales = pkgs.glibcLocales; | ||
}).overrideAttrs (prev: { | ||
# Disable the check phase, as hspec-discover will not run. | ||
# TODO: investigate what's happening with hspec-discover. |
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.
Do you still intend to debug the TODO
s? Could you make issues otherwise?
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.
Both TODO's don't seem overly important.
The first because the tests are run elsewhere anywhere.
The second because it is just a slightly ugly, but still functional, solution.
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.
The hash of the output path changes when the flags on the input side change. So if it could be set to do the testing that is preferred otherwise this can be left as is.
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.
It doesn't pick up the tests when enabled.
Since the pkgsStatic.haskellPackages
call is, in Falco's words, 'magic', I think I lack the knowledge to debug this.
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.
LGTM!
@OpsBotPrime merge |
Pull request approved for merge by @Riscky, rebasing now. |
Approved-by: Riscky Auto-deploy: false
Rebased as fb5b672, waiting for CI … |
3845310
to
fb5b672
Compare
The static build has been broken since 4cd7431, due to a package upgrade.
This PR fixes the static build (big thanks to @FPtje).
The new solution is a lot simpler, so some old cruft has been removed.
This also adds the build script to CI so our master will be green in the future.
The machine type of the CI runner has also been changed, as we need more disk apparently.