From 2bb8aee3d63443b093305e5606fddf6a4328c7cc Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Sat, 7 Dec 2024 10:46:34 +0300 Subject: 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 --- gn/packages/guile.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gn') 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.") -- cgit v1.2.3