Hi Leo, On Wed, 24 Nov 2021 at 22:02, Leo Famulari <l...@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