guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is sha256 optional?


From: Ludovic Courtès
Subject: Re: Is sha256 optional?
Date: Fri, 22 May 2015 16:26:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Feng Shu <address@hidden> skribis:

> Is the below code optional?
>
> #+BEGIN_COMMENT
> (sha256 (base32 "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"))
> #+END_COMMENT

No it’s not.

Because Guix is about reproducibility, package recipes must specify the
exact source code that they expect, hence this ‘sha256’ field.

That said, if you want to simply use a different source code tarball
without bothering, you can do:

  guix build emacs --with-source=./emacs-24.5.xyz.tar.gz

(info "(guix) Invoking guix build")

HTH,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]