From d7558c516640d494ee5a6a39653c470331d31de2 Mon Sep 17 00:00:00 2001 From: anemofilia Date: Sun, 27 Aug 2023 19:17:46 -0300 Subject: [PATCH] style: improve readability of GUILE_LOAD_PATH definition by using the flip combinator --- radio.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/radio.scm b/radio.scm index 363bfbf..c6f776f 100644 --- a/radio.scm +++ b/radio.scm @@ -7,6 +7,7 @@ #|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-) @@ -310,13 +311,12 @@ #|Guile|# ("GUILE_WARN_DEPRECATED" . "detailed") ("GUILE_HISTORY" . "$XDG_CACHE_HOME/guile/history") - ("GUILE_LOAD_PATH" . ,(string-join + ("GUILE_LOAD_PATH" . ,((flip string-join) ":" (cons "$HOME/projects/guile/radix/modules" (map (cut string-append <> "/share/guile/site/3.0") '("/run/current-system/profile" "$XDG_CONFIG_HOME/guix/current" - "$HOME/.guix-home/profile"))) - ":")) + "$HOME/.guix-home/profile"))))) #|GUIX|# ("GUIX_PROFILE" . "$XDG_CONFIG_HOME/guix/current")