From: zimoun <zimon.toutoune@gmail.com>
To: Leo Famulari <leo@famulari.name>, guix-devel@gnu.org
Subject: Re: Derivations differ between computers?
Date: Fri, 26 Nov 2021 01:49:00 +0100 [thread overview]
Message-ID: <86lf1bspvn.fsf@gmail.com> (raw)
In-Reply-To: <YZ783GxjzfSkuSyf@jasmine.lan>
Hi Leo,
On Wed, 24 Nov 2021 at 22:02, Leo Famulari <leo@famulari.name> wrote:
> It's caused by $GUIX_DOWNLOAD_FALLBACK_TEST=none
Oh, indeed! Nothing weird in fact. :-) The derivations are different
(the way to compute) but the outputs are the same; recursively.
Fun! :-)
Thanks for this non obvious at first (at least for me) use case.
--8<---------------cut here---------------start------------->8---
$ guix build --no-grafts hello -d
/gnu/store/c1qicg17ygn1a0biq0q4mkprzy4p2x74-hello-2.10.drv
>> /gnu/store/c1qicg17ygn1a0biq0q4mkprzy4p2x74-hello-2.10.drv
Derive
([("out","/gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10","","")]
,[("/gnu/store/0vh2rcmhyzk9j5y5bdzywsd8zd9kjwm1-coreutils-8.32.drv",["out"])
[...]
,("/gnu/store/78ww8sqfpxavnkjgwafs7xr2zwzza3mc-hello-2.10.tar.gz.drv",["out"])
[...]
>> /gnu/store/78ww8sqfpxavnkjgwafs7xr2zwzza3mc-hello-2.10.tar.gz.drv
Derive
([("out","/gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz","sha256","31e066137a962676e89f69d1b65382de95a7ef7d914b8cb956f41ea72e0f516b")]
,[]
,["/gnu/store/0mxnx8l4fgigvd7gakwdk6hc6im4wnai-disarchive-mirrors","/gnu/store/hdprrnsaa40vl1k63hnq7l1f012jzq2y-mirrors","/gnu/store/lv7dc09895a2d7cn0m6ysrdlgkhx5ld8-content-addressed-mirrors"]
,"x86_64-linux","builtin:download",[]
,[("content-addressed-mirrors","/gnu/store/lv7dc09895a2d7cn0m6ysrdlgkhx5ld8-content-addressed-mirrors")
,("disarchive-mirrors","/gnu/store/0mxnx8l4fgigvd7gakwdk6hc6im4wnai-disarchive-mirrors")
,("impureEnvVars","http_proxy https_proxy LC_ALL LC_MESSAGES LANG COLUMNS")
,("mirrors","/gnu/store/hdprrnsaa40vl1k63hnq7l1f012jzq2y-mirrors")
,("out","/gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz")
,("preferLocalBuild","1")
,("url","\"mirror://gnu/hello/hello-2.10.tar.gz\"")])
>> /gnu/store/0vh2rcmhyzk9j5y5bdzywsd8zd9kjwm1-coreutils-8.32.drv
Derive
([("out","/gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32","","")]
,[("/gnu/store/3bwkjkymipgm1z0pvqjcl0y384skpycb-gcc-7.5.0.drv",["out"])
[...]
--8<---------------cut here---------------end--------------->8---
vs
--8<---------------cut here---------------start------------->8---
$ GUIX_DOWNLOAD_FALLBACK_TEST=none guix build --no-grafts hello -d
/gnu/store/jq89sx909ibywm6llcmlfd7yj1ryhwci-hello-2.10.drv
>> /gnu/store/jq89sx909ibywm6llcmlfd7yj1ryhwci-hello-2.10.drv
Derive
([("out","/gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10","","")]
[...]
,("/gnu/store/rm8cfngfyb4w7yiqavyw62kp4rmhyd6k-coreutils-8.32.drv",["out"])
[...]
,("/gnu/store/xmq151lsv0p5q435q8l3f9yi8ddrxs00-hello-2.10.tar.gz.drv",["out"])
[...]
>> /gnu/store/xmq151lsv0p5q435q8l3f9yi8ddrxs00-hello-2.10.tar.gz.drv
Derive
([("out","/gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz","sha256","31e066137a962676e89f69d1b65382de95a7ef7d914b8cb956f41ea72e0f516b")]
,[]
,["/gnu/store/3q889p5zj9kdnl7wfs8dah8wzxvq6j8j-no-content-addressed-mirrors","/gnu/store/chgbsnxxi0032ikjgwi14asmkm792yla-no-disarchive-mirrors","/gnu/store/hdprrnsaa40vl1k63hnq7l1f012jzq2y-mirrors"]
,"x86_64-linux","builtin:download",[]
,[("content-addressed-mirrors","/gnu/store/3q889p5zj9kdnl7wfs8dah8wzxvq6j8j-no-content-addressed-mirrors")
,("disarchive-mirrors","/gnu/store/chgbsnxxi0032ikjgwi14asmkm792yla-no-disarchive-mirrors")
,("impureEnvVars","http_proxy https_proxy LC_ALL LC_MESSAGES LANG COLUMNS")
,("mirrors","/gnu/store/hdprrnsaa40vl1k63hnq7l1f012jzq2y-mirrors")
,("out","/gnu/store/hbdalsf5lpf01x4dcknwx6xbn6n5km6k-hello-2.10.tar.gz")
,("preferLocalBuild","1")
,("url","\"mirror://gnu/hello/hello-2.10.tar.gz\"")])
>> /gnu/store/rm8cfngfyb4w7yiqavyw62kp4rmhyd6k-coreutils-8.32.drv
Derive
([("out","/gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32","","")]
,[("/gnu/store/05ddysy67wadk9n726vs45bg6g1s36xl-gawk-boot0-2.7.6.drv",["out"])
[...]
--8<---------------cut here---------------end--------------->8---
Cheers,
simon
next prev parent reply other threads:[~2021-11-26 0:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-25 1:55 Derivations differ between computers? Leo Famulari
2021-11-25 3:02 ` Leo Famulari
2021-11-26 0:49 ` zimoun [this message]
2021-11-28 17:38 ` Ludovic Courtès
2021-11-25 9:32 ` zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86lf1bspvn.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=guix-devel@gnu.org \
--cc=leo@famulari.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).