Re: User-profile search paths should include system-profile directories

2016-09-30 Thread Ludovic Courtès
Howdy, csanchez...@gmail.com (Carlos Sánchez de La Lama) skribis: >>> Making this work would need two things: >>> 1) not stripping unexisting directories from search paths >>> 2) constructing environment variables prepending every profile root to >>>the search paths of each profile. >>> >>> N

Re: User-profile search paths should include system-profile directories

2016-09-26 Thread Carlos Sánchez de La Lama
Hi Ludo, >> Making this work would need two things: >> 1) not stripping unexisting directories from search paths >> 2) constructing environment variables prepending every profile root to >>the search paths of each profile. >> >> Now, my question is, why are unexisting search paths removed? > >

Re: User-profile search paths should include system-profile directories

2016-09-23 Thread Ludovic Courtès
Hi Carlos, csanchez...@gmail.com (Carlos Sánchez de La Lama) skribis: > Hi Ludo, Alex, > >> In the example Alex gave, none of the two profiles specifies >> GUILE_LOAD_PATH if taken individually. This example is also in the >> manual to illustrate the use of multiple -p flags with --search-paths

Re: User-profile search paths should include system-profile directories

2016-09-22 Thread Carlos Sánchez de La Lama
Hi Ludo, Alex, > In the example Alex gave, none of the two profiles specifies > GUILE_LOAD_PATH if taken individually. This example is also in the > manual to illustrate the use of multiple -p flags with --search-paths > (info "(guix) Invoking guix package"). I think I understood now. I knew "gu

Re: User-profile search paths should include system-profile directories

2016-09-21 Thread Ludovic Courtès
Hi, csanchez...@gmail.com (Carlos Sánchez de La Lama) skribis: > Alex Kost writes: [...] >>> what about something like: >>> >>> - /etc/profile >>> # [...] >>> GUIX_PROFILES="/run/current-system/profile:$HOME/.guix-profile" >>> . /run/current-system/profile/etc/profile >>> # [...] >>>

Re: User-profile search paths should include system-profile directories

2016-09-20 Thread Carlos Sánchez de La Lama
Alex Kost writes: > Carlos Sánchez de La Lama (2016-09-20 09:39 +0200) wrote: > >> Hi, >> Is this the intended behaviour? I am wondering whether packages with search paths should include both the user-profile directories and the system-profile ones. >>> >>> I think you’re right. T

Re: User-profile search paths should include system-profile directories

2016-09-20 Thread Alex Kost
Carlos Sánchez de La Lama (2016-09-20 09:39 +0200) wrote: > Hi, > >>> Is this the intended behaviour? I am wondering whether packages with >>> search paths should include both the user-profile directories and the >>> system-profile ones. >> >> I think you’re right. This was discussed at >>

Re: User-profile search paths should include system-profile directories

2016-09-20 Thread Carlos Sánchez de La Lama
Hi, >> Is this the intended behaviour? I am wondering whether packages with >> search paths should include both the user-profile directories and the >> system-profile ones. > > I think you’re right. This was discussed at > , leading to a patch (for GuixSD). > > However,

Re: User-profile search paths should include system-profile directories

2016-09-15 Thread Alex Kost
Ludovic Courtès (2016-09-14 16:58 +0200) wrote: > Hello, > > csanchez...@gmail.com (Carlos Sánchez de La Lama) skribis: > >> I have an interesting case here. I have guile installed in my system >> profile, so that >> >> /var/guix/profiles/system/profile/share/aclocal/guile.m4 >> >> is there. Howev

Re: User-profile search paths should include system-profile directories

2016-09-14 Thread Ludovic Courtès
Hello, csanchez...@gmail.com (Carlos Sánchez de La Lama) skribis: > I have an interesting case here. I have guile installed in my system > profile, so that > > /var/guix/profiles/system/profile/share/aclocal/guile.m4 > > is there. However, autoconf is installed in my *user* profile, so > ACLOCAL_

User-profile search paths should include system-profile directories

2016-09-14 Thread Carlos Sánchez de La Lama
Hi guys, I have an interesting case here. I have guile installed in my system profile, so that /var/guix/profiles/system/profile/share/aclocal/guile.m4 is there. However, autoconf is installed in my *user* profile, so ACLOCAL_PATH is augmented in ~/.guix-profile/etc/profile to include ~/.guix-p