From: Janneke Nieuwenhuizen <janneke@gnu.org>
To: 68498@debbugs.gnu.org
Subject: [bug#68498] [PATCH] guix-install.sh: Make Guix modules available too.
Date: Tue, 16 Jan 2024 09:27:43 +0100 [thread overview]
Message-ID: <4a2bb9d98d265b73932a57c9a9bd2fc920e3f035.1705393477.git.janneke@gnu.org> (raw)
* etc/guix-install.sh (GUILE_LOAD_PATH): Prepend directory to current Guix
modules.
(GUILE_LOAD_COMPILED_PATH): Likewise to compiled modules.
Change-Id: I0b2722a38b1f8ebab32142cbc372a23cadfb0620
---
etc/guix-install.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 982fb0a266..a0bb3a556b 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -12,6 +12,7 @@
# Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
# Copyright © 2022 Prafulla Giri <prafulla.giri@protonmail.com>
# Copyright © 2023 Andrew Tropin <andrew@trop.in>
+# Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
#
# This file is part of GNU Guix.
#
@@ -557,6 +558,10 @@ GUIX_LOCPATH="$GUIX_PROFILE/lib/locale:${GUIX_LOCPATH:+:}$GUIX_LOCPATH"
export GUIX_LOCPATH
+# Make Guix modules available
+export GUILE_LOAD_PATH="$_GUIX_PROFILE/share/guile/site/3.0${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH"
+export GUILE_LOAD_COMPILED_PATH="$_GUIX_PROFILE/lib/guile/3.0/site-ccache${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH"
+
EOF
}
base-commit: 21f5d20d68e0359f8111ccb936905649c70db9c1
--
2.41.0
next reply other threads:[~2024-01-16 8:28 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-16 8:27 Janneke Nieuwenhuizen [this message]
2024-01-24 22:22 ` [bug#68498] [PATCH] guix-install.sh: Make Guix modules available too Ludovic Courtès
2024-01-25 8:00 ` Janneke Nieuwenhuizen
2024-01-29 11:22 ` Ludovic Courtès
2024-01-29 11:54 ` Janneke Nieuwenhuizen
2024-01-29 16:05 ` Ludovic Courtès
2024-03-10 1:14 ` Maxim Cournoyer
2024-04-02 15:26 ` Ludovic Courtès
2024-04-07 14:37 ` bug#68498: " Janneke Nieuwenhuizen
2024-04-18 19:03 ` [bug#68498] " Janneke Nieuwenhuizen
2024-04-19 11:40 ` Maxim Cournoyer
2024-04-19 14:58 ` Janneke Nieuwenhuizen
2024-04-20 3:36 ` Liam Hupfer via Guix-patches via
2024-04-20 21:28 ` Maxim Cournoyer
2024-04-21 2:07 ` Liam Hupfer via Guix-patches via
2024-04-21 6:15 ` Janneke Nieuwenhuizen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4a2bb9d98d265b73932a57c9a9bd2fc920e3f035.1705393477.git.janneke@gnu.org \
--to=janneke@gnu.org \
--cc=68498@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).