From 1b06e7710859e8b8b4430d53105a155612ebee81 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 2 Dec 2022 22:59:04 +0100 Subject: modules: Recognize #:declarative?. This addition has become necessary since commit 54003af85cc5b689bd328b30617c93ed2f5fd647, which makes use of #:declarative? in modules produced by 'make-config.scm'. Reported by zimoun . * guix/modules.scm (extract-dependencies): Recognize #:declarative?, which was introduced in Guile 3.0.8. --- guix/modules.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guix/modules.scm b/guix/modules.scm index 61bc8e1978..77e1c2b6f4 100644 --- a/guix/modules.scm +++ b/guix/modules.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2016, 2017, 2018, 2019, 2021 Ludovic Courtès +;;; Copyright © 2016-2019, 2021-2022 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; @@ -77,7 +77,7 @@ (define (extract-dependencies clauses) ((#:autoload module _ rest ...) (loop rest (cons module result))) (((or #:export #:re-export #:export-syntax #:re-export-syntax - #:re-export-and-replace #:replace #:version) + #:re-export-and-replace #:replace #:version #:declarative?) _ rest ...) (loop rest result)) (((or #:pure #:no-backtrace) rest ...) -- cgit v1.2.3