Skip to content

download stack resolver if a sha256 is provided #748

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 1 commit into from
Jul 4, 2020

Conversation

hamishmack
Copy link
Collaborator

This change allows a resolverSha256 to be passed to stackProject.
When provided the resolver found in the stack.yaml is fetched
using this sha256 and the uri string is replaced with the
path to the fetched version.

This change allows a resolverSha256 to be passed to stackProject.
When provided the resolver found in the stack.yaml is fetched
using this sha256 and the uri string is replaced with the
path to the fetched version.
@hamishmack hamishmack requested a review from rvl July 3, 2020 13:53
Copy link
Contributor

@rvl rvl left a comment

Choose a reason for hiding this comment

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

Wow, awesome!

I did not know that adding nix-sha256 of the resolver was already supported for non-remote resolvers.

@hamishmack hamishmack merged commit c773606 into master Jul 4, 2020
@iohk-bors iohk-bors bot deleted the hkm/remote-resolver branch July 4, 2020 02:35
booniepepper pushed a commit to booniepepper/haskell.nix that referenced this pull request Feb 4, 2022
This change allows a resolverSha256 to be passed to stackProject.
When provided the resolver found in the stack.yaml is fetched
using this sha256 and the uri string is replaced with the
path to the fetched version.
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