From 71f083a355659a84f5ed1d09b97fda7260abaeef Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 12 Nov 2024 12:51:34 -0600 Subject: 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. --- gn/packages/guile.scm | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3