build-system/guile: Rename %scheme-file-regexp to default-scheme-file-regexp and export.

Follow-up to commit 0559a4b547.

* guix/build-system/guile.scm (%scheme-file-regexp): Rename to...
(default-scheme-file-regexp): ...this.  Export.

Change-Id: Ia4cfe59b4d0e9fda9555268f5c22e153123fc2c6
Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
nomike 2025-07-24 00:55:15 +02:00 committed by Danny Milosavljevic
parent 59bcb51418
commit 01765b61c4
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -27,9 +27,10 @@
#:use-module (guix build-system gnu)
#:use-module (srfi srfi-26)
#:export (%guile-build-system-modules
guile-build-system))
guile-build-system
default-scheme-file-regexp))
(define %scheme-file-regexp
(define default-scheme-file-regexp
;; Regexp to match Scheme files.
"\\.(scm|sls)$")
@ -88,7 +89,7 @@
(system (%current-system))
(source-directory ".")
(not-compiled-file-regexp #f)
(scheme-file-regexp %scheme-file-regexp)
(scheme-file-regexp default-scheme-file-regexp)
(documentation-file-regexp %documentation-file-regexp)
;; FIXME: Turn on parallel building of Guile modules by
;; default after the non-determinism issues in the Guile byte
@ -141,7 +142,7 @@
(phases '%standard-phases)
(source-directory ".")
(scheme-file-regexp %scheme-file-regexp)
(scheme-file-regexp default-scheme-file-regexp)
(documentation-file-regexp %documentation-file-regexp)
not-compiled-file-regexp
;; FIXME: Turn on parallel building of Guile