Re: Suggestion for a guix shell feature.

2024-01-05 Thread Development of GNU Guix and the GNU System distribution.
Tried to use to antioxydant build system, I cannot seem to add it as a channel but was able to clone the repo and authenticate it manually..  then  guix build -L . -f antioxidant-packages.scm fails to run with error, ice-9/eval.scm:223:20: In procedure proc: error: rust-sequoia-ipc-0.26: unbound

Re: Suggestion for a guix shell feature.

2024-01-04 Thread Development of GNU Guix and the GNU System distribution.
Sorry, this is my first time using some mailing list. I tried using `--container` and `--emulate-fhs` first it doesn't seem to use `guix.scm` automatically I have to specify it using `--file=guix.scm`. Second, the container is missing so much more stuff like cargo for example. This is my own pr

Re: Suggestion for a guix shell feature.

2024-01-04 Thread Development of GNU Guix and the GNU System distribution.
I can add rust:cargo but the package definition in the guix.scm is already using `cargo-build-system` shouldn't it include rust and cargo etc automatically? -- Sent with Tuta; enjoy secure & ad-free emails: https://tuta.com Dec 31, 2023, 16:56 by maxim.courno...@gmail.com: > Hi, > > Apoor

Re: Suggestion for a guix shell feature.

2024-01-04 Thread Development of GNU Guix and the GNU System distribution.
OK, it was my bad I had an older copy of guix.scm file I was passing that, it didn't have cargo-build-system. But now I'm getting so many other errors related to cargo deps missing or version mismatch, I tried adding those deps spent like 1-2 hours but something dep was still missing or version

Re: Suggestion for a guix shell feature.

2024-01-03 Thread Maxim Cournoyer
Hi, Apoorv writes: > OK, it was my bad I had an older copy of guix.scm file I was passing > that, it didn't have cargo-build-system. But now I'm getting so many > other errors related to cargo deps missing or version mismatch, I > tried adding those deps spent like 1-2 hours but something dep wa

Re: Suggestion for a guix shell feature.

2024-01-02 Thread Maxim Cournoyer
Hi, Apoorv writes: > I can add rust:cargo but the package definition in the guix.scm is already > using `cargo-build-system` shouldn't it include rust and cargo etc > automatically? It should, but if it doesn't you may want to review how rust:cargo input gets added to the cargo-build-system;

Re: Suggestion for a guix shell feature.

2023-12-31 Thread Maxim Cournoyer
Hi, Apoorv writes: > Sorry, this is my first time using some mailing list. > > I tried using `--container` and `--emulate-fhs` first it doesn't seem > to use `guix.scm` automatically I have to specify it using > `--file=guix.scm`. Second, the container is missing so much more stuff > like cargo

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 t

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. > > Fu

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' soun

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, not

Re: Suggestion for a guix shell feature.

2023-12-28 Thread Maxim Cournoyer
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, not being found inside the > shell. After s

Suggestion for a guix shell feature.

2023-12-21 Thread Development of GNU Guix and the GNU System distribution.
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, not being found inside the shell. After struggling for hours I finally learned that that the LD_LIBRARY_PATH  is not being updated a