Hello, 

Ok, I will open an issue on Codeberg. 

I think the problem is in 
/home/tmathieu/.config/guix/current/lib/guile/3.0/site-ccache, because I have

--8<---------------cut here---------------start------------->8---
GUILE_LOAD_COMPILED_PATH="/home/tmathieu/.config/guix/current/lib/guile/3.0/site-ccache"
 guix time-machine -C 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))' ?
--8<---------------cut here---------------end--------------->8---

whereas 

--8<---------------cut here---------------start------------->8---
GUILE_LOAD_COMPILED_PATH="/home/tmathieu/.guix-extra-profiles/extra_profile/extra_profile/lib/guile/3.0/site-ccache"
 guix time-machine -C channels.scm -- build python-jax   
/gnu/store/slfhr5slgshs1c1g99rs09qggmkrmbjz-python-jax-0.4.28
--8<---------------cut here---------------end--------------->8---

but then I don't understand why you cannot reproduce because 
~/.config/guix/current/lib/guile/3.0/site-ccache should be the same for you if 
you have the same guix commit no? Or is it that maybe because I use on foreign 
OS, the guix profile is different even when the channels are fixed? I have this 
for my profile:


--8<---------------cut here---------------start------------->8---
ls -l /var/guix/profiles/per-user/tmathieu/current-guix        
lrwxrwxrwx 1 tmathieu tmathieu 20  1 sept. 22:47 
/var/guix/profiles/per-user/tmathieu/current-guix -> current-guix-24-link
 
% >ls -l /var/guix/profiles/per-user/tmathieu/current-guix-24-link 
lrwxrwxrwx 1 tmathieu tmathieu 51  1 sept. 22:47 
/var/guix/profiles/per-user/tmathieu/current-guix-24-link -> 
/gnu/store/fgrlcnnbfshawack4in28qnhpixbm5n0-profile
--8<---------------cut here---------------end--------------->8---

Anyways, here is the result of the command you asked:

--8<---------------cut here---------------start------------->8---
$ guix package -p ~/.guix-extra-profiles/extra_profile/extra_profile -I
qimgv                   1.0.3-alpha     out     
/gnu/store/n1afprm9pl3q2zmjj5jv3g8ksjrlawzw-qimgv-1.0.3-alpha
inotify-tools           3.22.6.0        out     
/gnu/store/s11pbvl6m2nb8fhnqzj66qydq7fvcwbs-inotify-tools-3.22.6.0
mpv                     0.40.0          out     
/gnu/store/nim2x21bxk94bva5ih0hpkv6dkj5cfx2-mpv-0.40.0
xclip                   0.13            out     
/gnu/store/3ygvxybjlxxm86l7b0gn4px9784y23ly-xclip-0.13
scrot                   1.11.1          out     
/gnu/store/8jhbm5gmv8nz4kshrspsczq0iiljgw5a-scrot-1.11.1
rofi                    1.7.8           out     
/gnu/store/bswkg2zvhh86ap97yvgv0yzml46nqphi-rofi-1.7.8
emacs-super-save        0.4.0           out     
/gnu/store/vw1j0sb95xnjd0bxzna8kq55d5jz6gag-emacs-super-save-0.4.0
tree                    2.2.1           out     
/gnu/store/iv9wji74mhmfjw9grl94ipqap6id9cmw-tree-2.2.1
font-fira-mono          3.206           out     
/gnu/store/68xx23lyhqblbmj1rsibc95v188rjwzq-font-fira-mono-3.206
slurp                   1.5.0           out     
/gnu/store/v4lbgnmr0v8jcfqjgjb7s8vjn97f9x12-slurp-1.5.0
swayidle                1.8.0           out     
/gnu/store/d70mwldn1fldq1cs7yrd9qn0id9z5bpf-swayidle-1.8.0
gammastep               2.0.9           out     
/gnu/store/x7w93mp47h5va15vpkdag42q3xvrs0lg-gammastep-2.0.9
swayfx                  0.5             out     
/gnu/store/dn8j4hj5f1b241j3lhbwvg79awb58rwm-swayfx-0.5
grim                    1.4.1           out     
/gnu/store/hjm6blqmc7ibr0i724j8z7dcawhfmg46-grim-1.4.1
foot                    1.23.0          out     
/gnu/store/gx519f1g6hzgl7dh8w4znpkr4g4nx8ya-foot-1.23.0
wl-clipboard            2.2.1           out     
/gnu/store/06f22fr86vxx03gmrx0skqwdiq687lrh-wl-clipboard-2.2.1
swayr                   0.27.4          out     
/gnu/store/mk62my6gr16z77l5wmdfdwdkx6pp8nay-swayr-0.27.4
dunst                   1.11.0          out     
/gnu/store/whk40kyc6r09nn69jvvhmm4mydkm58jk-dunst-1.11.0
wdisplays               1.1.1           out     
/gnu/store/baxy2afnqlrdzsr32xi43x2hrlixmkwj-wdisplays-1.1.1
guile-colorized         0.1             out     
/gnu/store/7fnf7kihi8bxg91h0dlrbia9cgy3gwly-guile-colorized-0.1
guile-readline          3.0.9           out     
/gnu/store/l2ar6j08d3pnfpxnc8c1lsl14fgagwcb-guile-readline-3.0.9
xournalpp               1.2.6           out     
/gnu/store/hk2icmp26c203n8nqk0dcl7vd27d2284-xournalpp-1.2.6
khal                    0.12.0          out     
/gnu/store/ihfkkd4m6mnhkva0qp0iikzbddls82m5-khal-0.12.0
meld                    3.23.0          out     
/gnu/store/59yk4c9khhd3iczizfrg9kws64rn7hl9-meld-3.23.0
okular                  24.12.3         out     
/gnu/store/sijw5rvjigi5bgn0ch8gsi319yk2g43h-okular-24.12.3
feh                     3.10.3          out     
/gnu/store/cx28wi5fa03k1avab3ri3h89saww2p5r-feh-3.10.3
expect                  5.45.4          out     
/gnu/store/75mlbcgp45sw0r64k9n7wpf8405g6z59-expect-5.45.4
sshpass                 1.10            out     
/gnu/store/h7rmdsxp9kkijjlnniiijjgrf8phq2i5-sshpass-1.10
adwaita-icon-theme      46.2            out     
/gnu/store/y34vz1m7syagn4qiw3b7yl26z0fqvak5-adwaita-icon-theme-46.2
xcursor-themes          1.0.7           out     
/gnu/store/xyjp33kqd178ww6f943h1jqab53wa7rc-xcursor-themes-1.0.7
graphviz                7.0.1           out     
/gnu/store/h4gxr8gd1ayljw3s9zpcxsrxxzgskqhf-graphviz-7.0.1
nm-tray                 0.5.1           out     
/gnu/store/w0k49q367hccsjxhj45jvwxg43px44a0-nm-tray-0.5.1
texlive                 20250308        out     
/gnu/store/q1k38rkgf004ikn930r0gd193cn2c353-texlive-20250308
texlive-synctex         2025.2          out     
/gnu/store/yqyfvk7r734bjjc2r2wackvjvwlxiq6i-texlive-synctex-2025.2
openssl                 3.0.8           out     
/gnu/store/50j99apijrp9fgdlw718d6bkg32fxapj-openssl-3.0.8
guile                   3.0.9           out     
/gnu/store/37m0a0ydy74wl2qrf2w1jdgqhxwbaxac-guile-3.0.9
bash-completion         2.11            out     
/gnu/store/500207djpn03if4nwi72npdgglxsbj2k-bash-completion-2.11
wxmaxima                24.11.0         out     
/gnu/store/34g7hp5l2acv77lpn4f63kl07nlm3rps-wxmaxima-24.11.0
gparted                 1.6.0           out     
/gnu/store/s3dqy3vl4dpf62g94p1x2srqbzjk2v6q-gparted-1.6.0
recoll                  1.43.2          out     
/gnu/store/x9syvj3lvljga0pfzasyyyycy80in9my-recoll-1.43.2
keepassxc               2.7.10          out     
/gnu/store/zyn4ac5rvcm9b2ddy9z4zjxnw69j0lw7-keepassxc-2.7.10
aspell-dict-en          2020.12.07-0    out     
/gnu/store/8nkwzxqb53nmicxi01rjgmakg8x7nddz-aspell-dict-en-2020.12.07-0
p7zip                   16.02           out     
/gnu/store/7l0q8fhk08sx9pac196n9qpx5271aar5-p7zip-16.02
bc                      1.07.1          out     
/gnu/store/3h25iggifhrfm7pjwg5p71w6w50pagxa-bc-1.07.1
aspell                  0.60.8          out     
/gnu/store/y9rzcnrx6dyzrx4d72crhgszdwzrd6c5-aspell-0.60.8
ripgrep                 14.1.1          out     
/gnu/store/wf9z1jlx2c78rf6xdwx1jrf3498xs7n7-ripgrep-14.1.1
--8<---------------cut here---------------end--------------->8---


Best,
Timothée

----- Mail original -----
> De: "Simon Tournier" <[email protected]>
> À: "Timothee Mathieu" <[email protected]>
> Cc: "Ludovic Courtès" <[email protected]>, "help-guix" <[email protected]>, 
> "Julien Teigny" <[email protected]>
> Envoyé: Lundi 1 Septembre 2025 14:53:50
> Objet: Re: guix time machine with channels that fail to compile

> Hi,
> 
> Ouf, the unexpected behaviour is now well-reduced. :-)
> 
> On Wed, 27 Aug 2025 at 16:13, Timothee Mathieu <[email protected]>
> wrote:
> 
>> I have no idea what this environment variable does, it is
>> automatically set when I activate my profiles, but anyway it should
>> not impact the inferior am I right?
>>
>> FYI, here is the content of GUILE_LOAD_COMPILED_PATH (I use several guix
>> profiles)
>>
>> --8<---------------cut here---------------start------------->8---
>> $ echo $GUILE_LOAD_COMPILED_PATH
>> /home/tmathieu/.guix-extra-profiles/extra_profile/extra_profile/lib/guile/3.0/site-ccache:/home/tmathieu/.guix-extra-profiles/extra_profile/extra_profile/share/guile/site/3.0:/home/tmathieu/.config/guix/current/lib/guile/3.0/site-ccache
>> --8<---------------cut here---------------end--------------->8---
> 
> Could you list the packages under this profile
> 
>  guix package -p ~/.guix-extra-profiles/extra_profile/extra_profile -I
> 
> ? It’s capital i (--list-installed). :-)
> 
> 
> Then the question is thus: Why does guix time-machine retain some
> environment variable?
> 
> Well, I think that’s a bug.  Could you open an issue about that?
> 
> Cheers,
> simon

Reply via email to