style: improve readability of GUILE_LOAD_PATH definition by using the flip combinator

pull/1/head
anemofilia 2023-08-27 19:17:46 -03:00
parent 2b8f36bfa9
commit d7558c5166
No known key found for this signature in database
GPG Key ID: 5A8F3D62C87A2B33
1 changed files with 3 additions and 3 deletions

View File

@ -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")