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
Is there documentation for when to use which kind of hash?
Many times nix-prefetch-url works but apparently here I need nix-prefetch-url --unpack url.
Previously I used nix-hash --type sha256 --flat --base32.
Currently when using fetchTarball or fetchurl builtins with the sha256 specified, the resulting error message is a bit unclear:
(FWIW, here's the invocation using the correct hash:
)
If it's not too much trouble, I think ideally it would explain that the wrong hash was given, and ideally would print the "actual" hash computed.
It appears this happens with
builtins.fetchurl
as well.Oh, and I'm use non-standard store above just as a way to ensure these paths don't exist already--same behavior with default/normal store.
The text was updated successfully, but these errors were encountered: