* Is sha256 optional?
@ 2015-05-22 11:24 Feng Shu
2015-05-22 14:26 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Feng Shu @ 2015-05-22 11:24 UTC (permalink / raw)
To: guix; +Cc: Feng Shu
Is the below code optional?
#+BEGIN_COMMENT
(sha256 (base32 "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"))
#+END_COMMENT
--
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Is sha256 optional?
2015-05-22 11:24 Is sha256 optional? Feng Shu
@ 2015-05-22 14:26 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-05-22 14:26 UTC (permalink / raw)
To: Feng Shu; +Cc: guix
Feng Shu <tumashu@163.com> 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’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-22 14:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-22 11:24 Is sha256 optional? Feng Shu
2015-05-22 14:26 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).