Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

toStack: freeze cabal hashes for Hackage #8

Open
kirelagin opened this issue Jun 10, 2018 · 0 comments
Open

toStack: freeze cabal hashes for Hackage #8

kirelagin opened this issue Jun 10, 2018 · 0 comments

Comments

@kirelagin
Copy link
Contributor

When generating stack extra-deps for dependencies that come from Hackage, use the ...@hash syntax to point to a specific revision of the cabal file which corresponds to the one stored in all-cabal-hashes from the pinned nixpkgs (i.e. the one used by callHackage when building with Nix).

This is needed for reproducibility: to make sure that stack and Nix use exactly the same version+revision of each Hackage package.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant