guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestion for a guix shell feature.


From: Maxim Cournoyer
Subject: Re: Suggestion for a guix shell feature.
Date: Sun, 31 Dec 2023 11:55:43 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

Hi,

Apoorv <apoorvs@tuta.io> 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 for example.

Yes, that's a somewhat surprising behavior designed to avoid bad
surprises, in that if you start using arguments with 'guix shell', the
'do what I mean' magic is cancelled and you need to explicit each
arguments.

About cargo missing, what prevents you from adding rust:cargo to your
guix.scm file?

> This is my own project in Rust lang, I basically define `guix.scm` for
> all my projects since I started using Guix.

I guess this being rust everything is statically compiled, and the usual
dynamic loader is not useful here (the RUNPATH baked in elf binaries is
not used).

-- 
Thanks,
Maxim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]