aboutsummaryrefslogtreecommitdiff
path: root/gnu/machine
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-11-09 13:31:20 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-11-09 13:45:24 +0100
commitebb88e2bed889b67ea83893c907ab29e3bc81e8b (patch)
treed271001547786ec43e9436d138e2b2a18dbb7b07 /gnu/machine
parente8dcd008a0be8bd967efabab6960d19e5424d93e (diff)
downloadguix-ebb88e2bed889b67ea83893c907ab29e3bc81e8b.tar
guix-ebb88e2bed889b67ea83893c907ab29e3bc81e8b.tar.gz
machine/digital-ocean: Set load path to Guile 3.0 directories.
* gnu/machine/digital-ocean.scm (guix-infect, add-static-networking): Set GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH to directories for Guile 3.0 instead of 2.2.
Diffstat (limited to 'gnu/machine')
-rw-r--r--gnu/machine/digital-ocean.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/gnu/machine/digital-ocean.scm b/gnu/machine/digital-ocean.scm
index dc89862ca2..e4200f6405 100644
--- a/gnu/machine/digital-ocean.scm
+++ b/gnu/machine/digital-ocean.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org>
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
;;; Copyright © 2022 Matthew James Kraai <kraai@ftbfs.org>
+;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -272,10 +273,10 @@ cat > /etc/bootstrap-config.scm << EOF
(simple-service 'guile-load-path-in-global-env
session-environment-service-type
\\`((\"GUILE_LOAD_PATH\"
- . \"/run/current-system/profile/share/guile/site/2.2\")
+ . \"/run/current-system/profile/share/guile/site/3.0\")
(\"GUILE_LOAD_COMPILED_PATH\"
- . ,(string-append \"/run/current-system/profile/lib/guile/2.2/site-ccache:\"
- \"/run/current-system/profile/share/guile/site/2.2\"))))
+ . ,(string-append \"/run/current-system/profile/lib/guile/3.0/site-ccache:\"
+ \"/run/current-system/profile/share/guile/site/3.0\"))))
(service openssh-service-type
(openssh-configuration
(log-level 'debug)
@@ -337,10 +338,10 @@ configuration for the public IPv4 network described by the alist NETWORK."
(simple-service 'guile-load-path-in-global-env
session-environment-service-type
`(("GUILE_LOAD_PATH"
- . "/run/current-system/profile/share/guile/site/2.2")
+ . "/run/current-system/profile/share/guile/site/3.0")
("GUILE_LOAD_COMPILED_PATH"
- . ,(string-append "/run/current-system/profile/lib/guile/2.2/site-ccache:"
- "/run/current-system/profile/share/guile/site/2.2"))))
+ . ,(string-append "/run/current-system/profile/lib/guile/3.0/site-ccache:"
+ "/run/current-system/profile/share/guile/site/3.0"))))
(operating-system-user-services
(machine-operating-system target))))))