aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-11-12 12:51:34 -0600
committerFrederick Muriuki Muriithi2024-11-14 09:10:07 -0600
commit71f083a355659a84f5ed1d09b97fda7260abaeef (patch)
tree6af4bef7b9378c548321284c7400d9129a54da98
parentd0de338d397c0890a1cfd13b2a2ac9f3b60afb39 (diff)
downloadguix-bioinformatics-71f083a355659a84f5ed1d09b97fda7260abaeef.tar.gz
Provide missing definition
For older guix versions, the variable %default-gnu-imported-modules might not already be exported from the (guix build-system gnu) module. This commit provides a tide-over for that.
-rw-r--r--gn/packages/guile.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gn/packages/guile.scm b/gn/packages/guile.scm
index 6f0b41d..751bbe5 100644
--- a/gn/packages/guile.scm
+++ b/gn/packages/guile.scm
@@ -22,6 +22,14 @@
#:use-module ((gnu packages perl) #:select (perl))
#:use-module ((gnu packages tls) #:select (guile-gnutls openssl)))
+(define %default-gnu-imported-modules
+ (if (defined? '%default-gnu-imported-modules)
+ %default-gnu-imported-modules
+ '((guix build gnu-build-system)
+ (guix build utils)
+ (guix build gremlin)
+ (guix elf))))
+
;; Lifted from:
;; https://lists.gnu.org/archive/html/artanis/2023-03/txtNk7zz7rJAN.txt
(define-public guile3-dbi