[Top][All Lists]

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

[PATCH] HACKING: Use .guix.scm in 'guix environment' snippet

From: Kyle Meyer
Subject: [PATCH] HACKING: Use .guix.scm in 'guix environment' snippet
Date: Sat, 8 Feb 2020 12:05:23 -0500

* 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
@@ -13,10 +13,7 @@ Copyright © 2018 Ricardo Wurmus <address@hidden>
 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
 * Commit access

base-commit: af9e6f66144d6bb1ca19a24cf213bf04ef0317a3

reply via email to

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