Skip to content

Conversation

qrilka
Copy link
Contributor

@qrilka qrilka commented Dec 4, 2018

Our final target is to use this in stack2nix, this PR depends on NixOS/hackage-db#9 so I guess we'll need hackage-db bounds updated when it will get merged

@peti
Copy link
Member

peti commented Dec 4, 2018

I don't think I follow ... why does this PR depend on stack?

@qrilka
Copy link
Contributor Author

qrilka commented Dec 4, 2018

Oh, dummy copy-paste, sorry, link corrected

@qrilka
Copy link
Contributor Author

qrilka commented Dec 5, 2018

@peti in ced478e I've added support for Stack's size part after SHA (there it's used as a measure against overflow attacks). Also in SHA256 is assumed to be in standard hexadecimal notation (Nix's base32 is used internally).
Please let me know what you think about this. Also it would be great to get some understanding of the situation with NixOS/hackage-db#9

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