Skip to content
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

support SHA256 hashes #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cryptix
Copy link

@cryptix cryptix commented Sep 4, 2018

I came across an registry implementation which uses these.

@svanderburg
Copy link
Owner

I still have not seen any SHA256 examples myself. Furthermore, for SHA256 it uses Nix's own notation, that most likely is not compatible. Have you also checked whether you could deploy a package with a SHA256 or provide me an example of such a package?

@@ -171,6 +171,8 @@ NPMRegistrySource.prototype.toNixAST = function() {
case "sha1":
paramExpr.sha1 = this.sha1;
break;
case "sha256":
paramExpr.sha256 = this.sha256;
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like you forgot a break there.

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.

3 participants