From f650dc0d80aa14b0afa956a5f4fc2a4150b4dc51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 14 Feb 2026 23:13:13 +0100 Subject: [PATCH] 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 --- guix/gexp.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/guix/gexp.scm b/guix/gexp.scm index 5305678b34..c798650ff6 100644 --- a/guix/gexp.scm +++ b/guix/gexp.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2014-2025 Ludovic Courtès +;;; Copyright © 2014-2026 Ludovic Courtès ;;; Copyright © 2018 Clément Lassieur ;;; Copyright © 2018 Jan Nieuwenhuizen ;;; Copyright © 2019, 2020 Mathieu Othacehe @@ -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)