help-guix
[Top][All Lists]
Advanced

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

guix shell without arguments


From: André A . Gomes
Subject: guix shell without arguments
Date: Fri, 12 May 2023 14:06:56 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hello Guix,

Issuing guix shell without arguments is equivalent to the command below,
when guix.scm exists in the directory where it's being issued:

--8<---------------cut here---------------start------------->8---
guix shell -D -f /path/to/guix.scm
--8<---------------cut here---------------end--------------->8---

I am wondering if there's a more succinct way of saying:

--8<---------------cut here---------------start------------->8---
guix shell -D -f /path/to/guix.scm -- foo-command
--8<---------------cut here---------------end--------------->8---

The incantation below creates an empty environment.  But wouldn't it be
nice if it would infer manifest.scm or guix.scm, in case they exist in
the current directory?

--8<---------------cut here---------------start------------->8---
guix shell -- foo-command
--8<---------------cut here---------------end--------------->8---

Thanks.


-- 
André A. Gomes
"You cannot even find the ruins..."



reply via email to

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