-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fetchTarball with sha256 results in error about lacking a signature #1381
Comments
The hash is wrong BTW, it should be |
Thanks. Now it does evaluate with 1.12pre5350_7689181e. Quite a confusing error. I wasn't aware that nix/doc/manual/expressions/builtins.xml Line 276 in 1fd5944
|
Is it possible to support
where This is possible with |
With
|
If
which is correct since that's what
shows. |
I've been using
even though I am sure the hash is correct. |
Using |
I haven't encountered the issue anymore since I'm using the nixUnstable for the daemon as well. Maybe the issue still exists when using stable and unstable Nix together but, since I supposed that isn't a recommended workflow, I'm closing this. |
What would you think of also adding the sha256 to the 1.11 branch? Even if it's a noop it would allow to have code work on both branches. #1538 |
Using
nix-build
ornix build
on the following fileresults in
Edit:
This was on NixOS 17.09.git.c882b96 (Hummingbird) with Nix 1.11.9. Nix Unstable was installed in my profile and so the daemon was still 1.11.
The text was updated successfully, but these errors were encountered: