1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gexp: Catch more cases of modules imported from the host Guile.

* guix/gexp.scm (gexp-modules)[validate-modules]: Recognize more Guile
module namespaces.

Change-Id: I02eab269760cc3ccc882359dd7870363831aaeda
This commit is contained in:
Ludovic Courtès
2026-02-14 23:13:13 +01:00
parent f6c4dbdf5d
commit f650dc0d80

View File

@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014-2025 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014-2026 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2018 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2019, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
@@ -918,7 +918,9 @@ false, meaning that GEXP is a plain Scheme object, return the empty list."
;; user and may thus be a source of non-reproducibility. This includes
;; (guix config) as well as modules that come with Guile.
(match (filter (match-lambda
((or ('guix 'config) ('ice-9 . _)) #t)
((or ('guix 'config) ('ice-9 . _)
('srfi . _) ('rnrs . _) ('scheme . _))
#t)
(_ #f))
modules)
(() #t)