summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-12-02 22:59:04 +0100
committerLudovic Courtès <ludo@gnu.org>2022-12-02 23:20:54 +0100
commit1b06e7710859e8b8b4430d53105a155612ebee81 (patch)
tree9c620b52f07167088944f3431a619c4f4faf776c
parent047425a662608f56ba530052e21106028c5d6eeb (diff)
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 <zimon.toutoune@gmail.com>. * guix/modules.scm (extract-dependencies): Recognize #:declarative?, which was introduced in Guile 3.0.8.
-rw-r--r--guix/modules.scm4
1 files 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 <ludo@gnu.org>
+;;; Copyright © 2016-2019, 2021-2022 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -77,7 +77,7 @@ 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 ...)