all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* guix shell without arguments
@ 2023-05-12 11:06 André A. Gomes
  2023-05-12 12:18 ` Simon Tournier
  2023-05-12 13:10 ` Thompson, David
  0 siblings, 2 replies; 8+ messages in thread
From: André A. Gomes @ 2023-05-12 11:06 UTC (permalink / raw)
  To: help-guix

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-05-15 17:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-12 11:06 guix shell without arguments André A. Gomes
2023-05-12 12:18 ` Simon Tournier
2023-05-12 16:14   ` Thompson, David
2023-05-13 12:05     ` Simon Tournier
2023-05-12 16:19   ` André A. Gomes
2023-05-12 13:10 ` Thompson, David
2023-05-12 14:17   ` Hafeez Bana
2023-05-14 15:51     ` Felix Lechner via

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.