aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-11-12 12:51:34 -0600
committerFrederick Muriuki Muriithi2024-11-22 10:24:52 -0600
commitbf6c1eedf60ca6d4f33f7138141f815cb015db46 (patch)
tree83ebaf9feafe4e571755f7c391cb152a401f2e57 /gn/packages
parent53ed3d57df6fe67512935071b2f2b63ed575748a (diff)
downloadguix-bioinformatics-bf6c1eedf60ca6d4f33f7138141f815cb015db46.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