From 5c4742663b0db2f8e261ddc833c098219f9964f9 Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Fri, 31 May 2024 23:07:26 +0200 Subject: doc: cookbook: Fix direnv example. When replacing `guix environment' with `guix shell', I forgot to add a `--development' argument. Follow-up to 9c3a8a380bcfebdb77af61532e7bfec523d7bde8. * doc/guix-cookbook.texi (Environment management) [Guix environment via direnv]: Fix example. Change-Id: I0a0df33b3b547bfc3ada10c4648e593be6608070 --- doc/guix-cookbook.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi index dd30483436..b3568cbf06 100644 --- a/doc/guix-cookbook.texi +++ b/doc/guix-cookbook.texi @@ -5088,8 +5088,8 @@ use_guix() PACKAGES=(help2man guile-sqlite3 guile-gcrypt) # Thanks - eval "$(guix shell --search-paths --root="$gcroot" --pure guix \ - $@{PACKAGES[@@]@} $@{PACKAGES_MAINTENANCE[@@]@} "$@@")" + eval "$(guix shell --search-paths --root="$gcroot" --pure \ + --development guix $@{PACKAGES[@@]@} $@{PACKAGES_MAINTENANCE[@@]@} "$@@")" # Predefine configure flags. configure() -- cgit v1.2.3