-
Notifications
You must be signed in to change notification settings - Fork 248
Automatically generate cache for stackage projects #397
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
Conversation
Print out the cache so that users can speed up builds
Mark all non-https repos as private
Don't pass sha256 to private fetches
Fix logic error
Import stack-to-nix as a subtree
Also adds support for include `# nix-sha256` comments in stack.yaml files.
Does this require the nix-hash comment? |
No the If the |
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.
This looks good to me. I'd like @yorickvP's input on this as well before we merge 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.
🚢
This pulls in input-output-hk/haskell.nix#397 (automatically generate cache for stackage projects).
This is an updated version of #358 that uses input-output-hk/nix-tools#72 for parsing
stack.yaml
and extracting the cabal package name. It also supports adding the nix hash as a comment tostack.yaml
(this should make passing a manual cache argument unnecessary).