summary refs log tree commit diff
diff options
context:
space:
mode:
authorJelle Licht <jlicht@fsfe.org>2023-02-20 00:19:18 +0100
committerJelle Licht <jlicht@fsfe.org>2023-03-06 14:58:58 +0100
commit7bbeaa87e3796d56cc762dcfbc340f9be301d5f6 (patch)
tree5223bc42c524b809faff5e5c09cbdb9b75b2ff6f
parent3f222cd5ad16a8447e4230126c451f833cdc1f9c (diff)
downloadguix-7bbeaa87e3796d56cc762dcfbc340f9be301d5f6.tar.gz
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.
-rw-r--r--guix/build-system/guile.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/build-system/guile.scm b/guix/build-system/guile.scm
index ffc892260a..7e2e33c13e 100644
--- a/guix/build-system/guile.scm
+++ b/guix/build-system/guile.scm
@@ -129,6 +129,7 @@
 
                             (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 @@
                        #: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