Re: Suggestion for a guix shell feature.

2023-12-29 Thread Maxim Cournoyer
Hi, Apoorv writes: > There are a lot of libs that need to be added to LD_LIBRARY_PATH for > my project to compile successfully. I do have gcc-toolchain added in > the guix.scm file. I had to do a lot of trickery for the shell > environment to work for me properly, using direnv, [...] Did you

Re: Suggestion for a guix shell feature.

2023-12-29 Thread Maxim Cournoyer
Hi, Tobias Geerinckx-Rice writes: > Hiyall, > > On 29 December 2023 03:58:27 UTC, Maxim Cournoyer > wrote: >>Guix doesn't/shouldn't make use of LD_LIBRARY_PATH, except in rare cases >>to wrap binaries. It's better to patch the dlopen calls to use the >>absolute shared library file name. > >

Re: Suggestion for a guix shell feature.

2023-12-29 Thread Tobias Geerinckx-Rice
Hiyall, On 29 December 2023 03:58:27 UTC, Maxim Cournoyer wrote: >Guix doesn't/shouldn't make use of LD_LIBRARY_PATH, except in rare cases >to wrap binaries. It's better to patch the dlopen calls to use the >absolute shared library file name. Fully agree. Furthermore, '--ld-library-path'

Re: Suggestion for a guix shell feature.

2023-12-29 Thread Ekaitz Zarraga
On 2023-12-29 04:58, Maxim Cournoyer wrote: Hi, Apoorv via "Development of GNU Guix and the GNU System distribution." writes: I want to make a suggestion for a feature for guix shell. I was recently writing guix.scm files for my projects and was having problem with the libraries I added,