me
/
guix
Archived
1
0
Fork 0

doc: cookbook: Fix direnv example.

When replacing `guix environment' with `guix shell',
I forgot to add a `--development' argument.

Follow-up to 9c3a8a380b.

* doc/guix-cookbook.texi (Environment management)
[Guix environment via direnv]: Fix example.

Change-Id: I0a0df33b3b547bfc3ada10c4648e593be6608070
master
Florian Pelz 2024-05-31 23:07:26 +02:00
parent 2e53fa5346
commit 5c4742663b
No known key found for this signature in database
GPG Key ID: 300888CB39C63817
1 changed files with 2 additions and 2 deletions

View File

@ -5088,8 +5088,8 @@ use_guix()
PACKAGES=(help2man guile-sqlite3 guile-gcrypt)
# Thanks <https://lists.gnu.org/archive/html/guix-devel/2016-09/msg00859.html>
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()