summaryrefslogtreecommitdiff
path: root/guix/modules.scm
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:11:09 +0100
commit9672db290a35f59113682a7f0c17c050a4ae2578 (patch)
treec770a90de36114c977da8b8be03ac34a334d0595 /guix/modules.scm
parent9b016e29912b11f52e67e59b211fa016d88fea4a (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.
Diffstat (limited to 'guix/modules.scm')
-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 ...)