From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: [PATCH] HACKING: Use .guix.scm in 'guix environment' snippet Date: Sat, 8 Feb 2020 12:05:23 -0500 Message-Id: <20200208170523.11212-1-kyle@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable To: gwl-devel@gnu.org Cc: Kyle Meyer List-ID: * 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 =C2=A9 2018 Ricardo Wurmus You can use Guix to set up a development environment: =20 #+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=3D.guix.scm #+END_SRC =20 * Commit access base-commit: af9e6f66144d6bb1ca19a24cf213bf04ef0317a3 --=20 2.25.0