[Nix-dev] Convert sha1 from base64 into "normal" string

zimbatm zimbatm at zimbatm.com
Thu Oct 13 10:43:48 CEST 2016


Ah right, fetchurl also supports some non-standard base32 format but not
base64. Nice hack thought :)

On Thu, 13 Oct 2016, 09:24 Игорь Пашев, <pashev.igor at gmail.com> wrote:

> 2016-10-13 10:21 GMT+03:00 zimbatm <zimbatm at zimbatm.com>:
> > My understanding of fetchurl is that the hash can be both in hex and
> base64
> > formats no?
>
>
> No :-) It probably should be extended to support base64. And/or base64
> support should be in the library, or in nix builtins. But at this time
> I can't wait.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20161013/4da92aa6/attachment.html>


More information about the nix-dev mailing list