aboutsummaryrefslogtreecommitdiff
path: root/gn
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-12-07 10:46:34 +0300
committerMunyoki Kilyungi2024-12-07 10:46:34 +0300
commit2bb8aee3d63443b093305e5606fddf6a4328c7cc (patch)
tree6bd31155f6fc879ca6930ac9fee868ae691a3092 /gn
parentf6b899bbb9bc3c8c61479786db59b4edb579d342 (diff)
downloadguix-bioinformatics-2bb8aee3d63443b093305e5606fddf6a4328c7cc.tar.gz
gn-guile: Unset GUILE_LOAD_PATH from the global environment.
`getenv "GUILE_LOAD_PATH"` leaks the global GUILE_LOAD_PATH into the package build. Should it return #f, a build error occurs. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/guile.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/gn/packages/guile.scm b/gn/packages/guile.scm
index beed3d5..824350c 100644
--- a/gn/packages/guile.scm
+++ b/gn/packages/guile.scm
@@ -151,14 +151,12 @@ for MySQL.")
;; need to compile guix.scm and manifest.scm.
(delete-file "guix.scm")
(setenv "GUILE_LOAD_PATH"
- (string-append
- (format
+ (format
#f "~{~a:~}"
(map (lambda (package)
(format #f "~a/share/guile/site/~a"
package guile-version))
- (list #$guile3-dbi #$guile-fibers #$guile-commonmark #$guile-json-4 #$guile-hashing)))
- #$(getenv "GUILE_LOAD_PATH")))))))))
+ (list #$guile3-dbi #$guile-fibers #$guile-commonmark #$guile-json-4 #$guile-hashing))))))))))
(home-page "https://git.genenetwork.com/gn-guile")
(synopsis "Next generation GN code in guile")
(description "Use of guile.")