You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fetchTarball with sha256 results in error about lacking a signature #1381
changed the title [-]fetchTarball with sha256 resuls in error about lacking a signature [/-][+]fetchTarball with sha256 results in error about lacking a signature [/+]on May 11, 2017
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.
Activity
[-]fetchTarball with sha256 resuls in error about lacking a signature [/-][+]fetchTarball with sha256 results in error about lacking a signature [/+]edolstra commentedon May 11, 2017
The hash is wrong BTW, it should be
0b2gwbssb530rij8vg6i62rizbxp3i3hi1jif5179rdnjxdl42q2(usenix-prefetch-url --unpackto get it).FRidh commentedon May 11, 2017
Thanks. Now it does evaluate with 1.12pre5350_7689181e. Quite a confusing error.
I wasn't aware that
--unpackwas needed. That will need to be added then to the docs atnix/doc/manual/expressions/builtins.xml
Line 276 in 1fd5944
FRidh commentedon May 11, 2017
Is it possible to support
where
srcis a call tofetchTarball?This is possible with
pkgs.fetchurland that's quite convenient.edolstra commentedon May 11, 2017
With
-A, you don't have to pass--unpack. It's unpacked automatically:FRidh commentedon May 11, 2017
If
srcis a call tofetchTarballinstead of saypkgs.fetchurl, then what I get iswhich is correct since that's what
shows.
FRidh commentedon May 16, 2017
I've been using
fetchTarballwith a hash successfully, but now I keep gettingeven though I am sure the hash is correct.
FRidh commentedon May 16, 2017
Using
nixUnstablealso for the daemon solves that issue.FRidh commentedon Jun 27, 2017
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.
zimbatm commentedon Aug 29, 2017
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
FRidh commentedon Aug 29, 2017
@zimbatm it won't be backported (#1299).