From c1c6b27c42f3d1a39d1035f5a6831d2ba15800d8 Mon Sep 17 00:00:00 2001 From: anemofilia Date: Tue, 5 Sep 2023 15:58:21 -0300 Subject: [PATCH] style: improve readability of GUILE_LOAD_PATH definition by using the format function --- radio.scm | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/radio.scm b/radio.scm index 21673ec..66ae80c 100644 --- a/radio.scm +++ b/radio.scm @@ -7,7 +7,6 @@ #|Radix|# (radix packages fonts) (radix packages wm) (radix home services) - (radix combinators) (radix utils) ((radix files awesome) #:prefix file:awesome-) ((radix files emacs) #:prefix file:emacs-) @@ -277,12 +276,11 @@ #|Guile|# ("GUILE_WARN_DEPRECATED" . "detailed") ("GUILE_HISTORY" . "$XDG_CACHE_HOME/guile/history") - ("GUILE_LOAD_PATH" . ,((flip string-join) ":" - (cons "$HOME/area/code/scm/radix/modules" - (map (cut string-append <> "/share/guile/site/3.0") - '("/run/current-system/profile" - "$XDG_CONFIG_HOME/guix/current" - "$HOME/.guix-home/profile"))))) + ("GUILE_LOAD_PATH" . ,(format #f "~a~@{:~a/share/guile/site/3.0~}" + "$HOME/area/code/scm/radix/modules" + "/run/current-system/profile" + "$XDG_CONFIG_HOME/guix/current" + "$HOME/.guix-home/profile")) #|GUIX|# ("GUIX_PROFILE" . "$XDG_CONFIG_HOME/guix/current")