[Nix-dev] Re: Short sha256

Ludovic Courtès ludo at gnu.org
Thu Mar 19 00:38:06 CET 2009


Saluton!

Lluís Batlle <viriketo at gmail.com> writes:

> I see sometimes in nixpkgs sha256 strings shorter than those I receive
> by a simple "sha256sum". I assume they aren't in hex, but in another
> base.

It's base32.

> Where do those strings come from?

Either `nix-prefetch-url' or `nix-hash --type sha256 --flat --base32'.

Thanks,
Ludo'.




More information about the nix-dev mailing list