style: improve readability of GUILE_LOAD_PATH definition by using the flip combinator
parent
2b8f36bfa9
commit
d7558c5166
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue