unofficial mirror of gwl-devel@gnu.org
 help / color / mirror / Atom feed
* [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).