From bf6c1eedf60ca6d4f33f7138141f815cb015db46 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(+) (limited to 'gn/packages') 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 -- cgit v1.2.3