Hi Janneke, On Fri, 14 Mar 2025 21:02:56 +0800, Janneke Nieuwenhuizen wrote: > > Janneke Nieuwenhuizen writes: > > Hello, > > > Ludovic Courtès writes: > > > > Hello, > > > >> This patch had fallen through the cracks… > > > > Ah, no problem. > > Oh my, as kinote noticed on IRC, somehow it fell through the cracks > again: <https://logs.guix.gnu.org/guix/2025-03-14.log#124505>. > > >> Janneke Nieuwenhuizen <jann...@gnu.org> skribis: > >> > >>>>From 2ac41477dad5699b748acfc72d4e91e0e14fa16a Mon Sep 17 00:00:00 2001 > >>> From: Janneke Nieuwenhuizen <jann...@gnu.org> > >>> Date: Sat, 22 Apr 2023 09:58:48 +0200 > >>> Subject: [PATCH] gnu: system: Cater for Guix Home in PATH. > >>> > >>> * gnu/system.scm (operating-system-etc-service): Also add a user's > >>> <guix-home>/profile/bin directory to PATH, before <guix-profile>/bin. > >> > >> LGTM, thanks! > > > > Great, pushed to master as > > > > ff2e22d1e122eb5b85fd85f8e922e6e8cfb0ee7b > > Really pushed to master as > > 2b6017dd0b031e43de7e66b3e1f3f331c0ab712c
It seems this is already set by Guix Home? My currently $PATH with this change: --8<---------------cut here---------------start------------->8--- /home/hako/.guix-home/profile/bin /home/hako/.guix-home/profile/sbin /run/privileged/bin /home/hako/.config/guix/current/bin /home/hako/.guix-home/profile/bin /home/hako/.guix-home/profile/sbin /home/hako/.guix-profile/bin /run/current-system/profile/bin /run/current-system/profile/sbin --8<---------------cut here---------------end--------------->8--- The first two entries are prepended by ~/.guix-home/setup-environment: --8<---------------cut here---------------start------------->8--- GUIX_PROFILE="$HOME_ENVIRONMENT/profile" PROFILE_FILE="$GUIX_PROFILE/etc/profile" [ -f $PROFILE_FILE ] && . $PROFILE_FILE --8<---------------cut here---------------end--------------->8--- I think we should either don't set PATH in Guix Home (how about foreign distros?), or revert this commit and prepend /run/privileged/bin in Guix Home. BTW I think ~/.guix-profile can be ordered before ~/.guix-home so that it's imperative profiles first, and declarative profiles second. WDYT?