build-system/guile: Expose #:scheme-file-regexp when cross-compiling

* guix/build-system/guile.scm (guile-cross-build): Accept #:scheme-file-regexp
and pass it on to builder.
This commit is contained in:
Jelle Licht 2023-02-20 00:19:18 +01:00
parent 3f222cd5ad
commit 7bbeaa87e3
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -129,6 +129,7 @@ (define* (guile-cross-build name
(phases '%standard-phases)
(source-directory ".")
(scheme-file-regexp %scheme-file-regexp)
not-compiled-file-regexp
(compile-flags %compile-flags)
(imported-modules %guile-build-system-modules)
@ -154,6 +155,7 @@ (define %outputs
#:target #$target
#:outputs %outputs
#:source-directory #$source-directory
#:scheme-file-regexp #$scheme-file-regexp
#:not-compiled-file-regexp #$not-compiled-file-regexp
#:compile-flags #$compile-flags
#:inputs %build-target-inputs