From 3b6248def6411aa82d79ef567b4d23477f3ef3df Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Wed, 31 Jul 2024 21:31:25 -0300 Subject: [PATCH] home-environments: radio: Add guile ccache in .guix-home/profile to GUILE_LOAD_COMPILED_PATH --- home-environments/radio.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/home-environments/radio.scm b/home-environments/radio.scm index aa14543..6ae0656 100644 --- a/home-environments/radio.scm +++ b/home-environments/radio.scm @@ -490,7 +490,15 @@ "~@{:~a/share/guile/site/3.0~}" '($HOME/.guix-home/profile $XDG_CONFIG_HOME/guix/current - /run/current-system/profile))))) + /run/current-system/profile))) + ("GUILE_LOAD_COMPILED_PATH" + . ,(apply format #f "~a~@{:~a~}" + (flat-map (lambda (profile path) + (format #f "~a/~a" profile path)) + '($HOME/.guix-home/profile + /run/current-system/profile) + '(lib/guile/3.0/site-ccache + share/guile/site/3.0)))))) (simple-service 'home-wayland-environment-variables home-environment-variables-service-type `(("QT_QPA_PLATFORM" . "wayland;xcb")