* [PATCH] HACKING: Use .guix.scm in 'guix environment' snippet
@ 2020-02-08 17:05 Kyle Meyer
2020-02-08 17:20 ` Kyle Meyer
2020-02-08 18:12 ` Ricardo Wurmus
0 siblings, 2 replies; 3+ messages in thread
From: Kyle Meyer @ 2020-02-08 17:05 UTC (permalink / raw)
To: gwl-devel; +Cc: Kyle Meyer
* HACKING (Development environment): Simplify the 'guix environment'
snippet by passing the existing .guix.scm to --load rather than
manually listing inputs.
Aside from being less of a mouthful, an advantage of doing this is
that the inputs need to be maintained in only a single spot, avoiding
the list in HACKING becoming stale (as is the case right now because
guile-gcrypt and guile-pfds are missing). The downside to using
.guix.scm is that it will also bring in texlive-tiny and graphviz,
which are required only for 'make distcheck'.
---
HACKING | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/HACKING b/HACKING
index 7ceb1b6..2e24297 100644
--- a/HACKING
+++ b/HACKING
@@ -13,10 +13,7 @@ Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
You can use Guix to set up a development environment:
#+BEGIN_SRC shell
-guix environment --ad-hoc \
- autoconf automake pkg-config \
- texinfo \
- guile@2.2 guile-commonmark guile-wisp guile-syntax-highlight
+guix environment --load=.guix.scm
#+END_SRC
* Commit access
base-commit: af9e6f66144d6bb1ca19a24cf213bf04ef0317a3
--
2.25.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-08 18:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-08 17:05 [PATCH] HACKING: Use .guix.scm in 'guix environment' snippet Kyle Meyer
2020-02-08 17:20 ` Kyle Meyer
2020-02-08 18:12 ` Ricardo Wurmus
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.