aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-11-12 12:51:34 -0600
committerFrederick Muriuki Muriithi2024-11-25 09:29:13 -0600
commitc87a03b8e1becd4934d5295a2d19d1b0ab5062fc (patch)
tree3d4504173e352921f383f5e22c3f7fa626e77cb1 /gn/packages
parentc8ce9745d4d55b7c2384278d64e6b64a770e0aa7 (diff)
downloadguix-bioinformatics-c87a03b8e1becd4934d5295a2d19d1b0ab5062fc.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.
Diffstat (limited to 'gn/packages')
-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 beed3d5..08810e5 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