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

Reply via email to