Hello,
I rdouble-checked and yes, the channel file is indeed this one.
For the commands you asked, I have
$ guix time-machine -C channels.scm -- show nss-certs | grep location
location: gnu/packages/certs.scm:131:2
>> ```
>> $ guix time-machine --channels=channels.scm -- shell -CW guix -- guix
>> time-machine --channels=channels.scm -- build python-jax
>> /gnu/store/slfhr5slgshs1c1g99rs09qggmkrmbjz-python-jax-0.4.28
>> ```
>
> Double weird! The Guix revision should have no impact.
>
Yes, it was also my feeling, but I wasn't sure that this was really abnormal
behavior.
For the other commands,
$ guix gc --referrers $inferior
Returns nothing, so I can't really do the commands you asked after that.
Instead, I substituted with doing just a guix gc (which maybe I should do more
frequently :p).
--8<---------------cut here---------------start------------->8---
$ guix gc
<<<< I Truncated because there was a lot, here is the end >>>>
[213875 MiB] deleting
'/gnu/store/f88lma37zr198gf41k564h8jmsw5ivnz-python-cachecontrol-0.14.1-builder'
[213875 MiB] deleting
'/gnu/store/mfqndwawvp5cswnrd86m3wz990f357wg-texlive-pgf-2024.2-checkout.drv'
[213875 MiB] deleting
'/gnu/store/fdhv6qnr1yq54a0kpf3v17wgw9vhrai1-ipykernel-6.29.4.tar.gz.drv'
deleting `/gnu/store/trash'
deleting unused links...
note: currently hard linking saves 88823.64 MiB
guix gc: freed 183 GiB
$ guix time-machine --channels=channels.scm -- build python-jax
substitute: recherche des substituts sur « https://guix.bordeaux.inria.fr »…
100.0%
substitute: recherche des substituts sur « https://ci.guix.gnu.org »… 100.0%
substitute: recherche des substituts sur « https://bordeaux.guix.gnu.org »…
100.0%
0,2 Mo seront téléchargés :
/gnu/store/hwrm4b53wgrh28sgrjpbssm07x25cwqg-java-hamcrest-core-1.3
/gnu/store/gfck5q7f9hkdpx0lw195xikxr58pfxbc-java-junit-4.12
/gnu/store/wpq9an7fjrz60c8pfhadbjl6snhkkams-java-easymock-3.4
substitution de /gnu/store/wpq9an7fjrz60c8pfhadbjl6snhkkams-java-easymock-3.4...
téléchargement depuis
https://ci.guix.gnu.org/nar/lzip/wpq9an7fjrz60c8pfhadbjl6snhkkams-java-easymock-3.4...
java-easymock-3.4 42KiB
783KiB/s 00:00 ▕██████████████████▏ 100.0%
substitution de
/gnu/store/hwrm4b53wgrh28sgrjpbssm07x25cwqg-java-hamcrest-core-1.3...
téléchargement depuis
https://ci.guix.gnu.org/nar/lzip/hwrm4b53wgrh28sgrjpbssm07x25cwqg-java-hamcrest-core-1.3...
java-hamcrest-core-1.3 20KiB
1.5MiB/s 00:00 ▕██████████████████▏ 100.0%
substitution de /gnu/store/gfck5q7f9hkdpx0lw195xikxr58pfxbc-java-junit-4.12...
téléchargement depuis
https://ci.guix.gnu.org/nar/lzip/gfck5q7f9hkdpx0lw195xikxr58pfxbc-java-junit-4.12...
java-junit-4.12 103KiB
1.8MiB/s 00:00 ▕██████████████████▏ 100.0%
guix-science/build-system/bazel.scm:104:45: In procedure bazel-vendored-inputs:
erreur : nss-certs : variable non liée
conseil : Auriez-vous oublié `(use-modules (gnu packages certs))' ?
$ guix time-machine --channels=channels.scm -- shell -CW guix -- guix
time-machine --channels=channels.scm -- build python-jax
substitute: looking for substitutes on 'https://guix.bordeaux.inria.fr'...
100.0%
substitute: looking for substitutes on 'https://ci.guix.gnu.org'... 100.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 100.0%
3.8 MB will be downloaded:
/gnu/store/slfhr5slgshs1c1g99rs09qggmkrmbjz-python-jax-0.4.28
substituting /gnu/store/slfhr5slgshs1c1g99rs09qggmkrmbjz-python-jax-0.4.28...
downloading from
https://guix.bordeaux.inria.fr/nar/zstd/slfhr5slgshs1c1g99rs09qggmkrmbjz-python-jax-0.4.28
...
python-jax-0.4.28 3.6MiB
6.6MiB/s 00:01 ▕██████████████████▏ 100.0%
/gnu/store/slfhr5slgshs1c1g99rs09qggmkrmbjz-python-jax-0.4.28
--8<---------------cut here---------------end--------------->8---
So still it does not work.
Remark that I reproduced this bug on two computers.
Best,
Timothée
----- Mail original -----
> De: "Simon Tournier" <[email protected]>
> À: "Timothee Mathieu" <[email protected]>, "help-guix"
> <[email protected]>
> Cc: "Julien Teigny" <[email protected]>
> Envoyé: Lundi 25 Août 2025 19:47:51
> Objet: Re: guix time machine with channels that fail to compile
> Hi,
>
> On Wed, 20 Aug 2025 at 17:35, Timothee Mathieu <[email protected]>
> wrote:
>
>> For example, (channels files and info given at the end of the mail)
>>
>> ```
>> $ guix time-machine --channels=channels.scm -- build python-jax
>> guix-science/build-system/bazel.scm:104:45: In procedure
>> bazel-vendored-inputs:
>> erreur : nss-certs : variable non liée
>> conseil : Auriez-vous oublié `(use-modules (gnu packages certs))' ?
>> ```
>
> Weird! Could you double-check that the channels.scm file is indeed the
> one
>
> $ cat channels.scm
> (list
> (channel
> (name 'guix-science)
> (url "https://codeberg.org/guix-science/guix-science.git")
> (branch "master")
> (commit
> "1fff4622cf7b51c40c549f83496dc6d906bf874f")
> (introduction
> (make-channel-introduction
> "b1fe5aaff3ab48e798a4cce02f0212bc91f423dc"
> (openpgp-fingerprint
> "CA4F 8CF4 37D7 478F DA05 5FD4 4213 7701 1A37 8446"))))
> (channel
> (name 'guix)
> (url "https://git.guix.gnu.org/guix.git")
> (branch "master")
> (commit
> "52d82e555119c013cfbf9ad7671a56dc6c1a1f16")
> (introduction
> (make-channel-introduction
> "9edb3f66fd807b096b48283debdcddccfea34bad"
> (openpgp-fingerprint
> "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))
> )
>
> ?
>
> What do you get
>
> guix time-machine -C channels.scm -- show nss-certs | grep location
>
> ?
>
>> Remark however that, with a funny twisted hack I can construct the package
>> if I
>> use the time machine from a time machine! (from a path that is not the home
>> directory to not pollute with dotfiles)
>>
>> ```
>> $ guix time-machine --channels=channels.scm -- shell -CW guix -- guix
>> time-machine --channels=channels.scm -- build python-jax
>> /gnu/store/slfhr5slgshs1c1g99rs09qggmkrmbjz-python-jax-0.4.28
>> ```
>
> Double weird! The Guix revision should have no impact.
>
> Here you use 83fe58d (very recent) to create the environment defined by
> channels.scm. Then install an old revision of Guix to launch another
> time-machine.
>
> But you apply the same channels.scm file, so the result should be the
> same.
>
> Maybe something is twisted with the cache of the time-machine?
>
> Could you report these commands
>
> --8<---------------cut here---------------start------------->8---
> $ guix gc --referrers $inferior
> /gnu/store/nw6nys0kg8118kxc9ks19n4zq2zpc0d0-profile
>
> $ profile=$(guix gc --referrers $inferior)
>
> $ guix gc --references $profile
> /gnu/store/30j7azqpy63m251nr887g748w18cki6r-guix-science
> /gnu/store/asljmlgl7c2lw710vvv7n490i5lnw0xk-info-dir
> /gnu/store/mzdzf2fqzafx25vwssgpwpjp6x9ga3br-emacs-subdirs
> /gnu/store/nw6nys0kg8118kxc9ks19n4zq2zpc0d0-profile
> /gnu/store/nxg5z5g7fh1c5vcrzv6d53xnaxxxnz2v-guix-52d82e555
> /gnu/store/wpdq87d6azndvb94cfigsfbh2ph7j9aj-guix-package-cache
>
> $ rm $inferior
>
> $ guix gc -D $(guix gc --references $profile)
> finding garbage collector roots...
> removing stale link from
> `/var/guix/gcroots/auto/q7g1rkal0wgh8mrsbh13m2ycnzakxqsi' to
> `/home/simon/.cache/guix/inferiors/elqniarazslbnlsqgu5nzml2vwde7yks6hrdogagjslnewegsksq'
> [0 MiB] deleting '/gnu/store/nw6nys0kg8118kxc9ks19n4zq2zpc0d0-profile'
> [0 MiB] deleting
> '/gnu/store/k0h9wr8247sz2212z0nm5y90ji0jprq1-inferior-script.scm'
> [0 MiB] deleting '/gnu/store/v4fry8mspgv2illf0lgckyj2zin3n5ik-profile'
> [0 MiB] deleting '/gnu/store/30j7azqpy63m251nr887g748w18cki6r-guix-science'
> [5 MiB] deleting '/gnu/store/asljmlgl7c2lw710vvv7n490i5lnw0xk-info-dir'
> [5 MiB] deleting '/gnu/store/mzdzf2fqzafx25vwssgpwpjp6x9ga3br-emacs-subdirs'
> [5 MiB] deleting '/gnu/store/nxg5z5g7fh1c5vcrzv6d53xnaxxxnz2v-guix-52d82e555'
> [5 MiB] deleting
> '/gnu/store/wpdq87d6azndvb94cfigsfbh2ph7j9aj-guix-package-cache'
> deleting `/gnu/store/trash'
> deleting unused links...
> note: currently hard linking saves 19461.79 MiB
> --8<---------------cut here---------------end--------------->8---
>
> ? And then try again
>
> guix time-machine -C channels.scm
>
> ?
>
> Cheers,
> simon