summaryrefslogtreecommitdiff
path: root/guix/build
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-08 20:09:17 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:21 +0300
commit0058ed81b0d994f2e9747c31cd002e7b292f7fe4 (patch)
tree556506aadd448e89cf8bfc800f1fe9158b13fea1 /guix/build
parent5fcd7836d65d416cc08c9f4003197a77a004631d (diff)
build: cargo-build-system: Find more pregenerated files.
* guix/build/cargo-build-system.scm (check-for-pregenerated-files): Also search for MacOS dynamic libraries.
Diffstat (limited to 'guix/build')
-rw-r--r--guix/build/cargo-build-system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/build/cargo-build-system.scm b/guix/build/cargo-build-system.scm
index e54882be34..505c0b4b01 100644
--- a/guix/build/cargo-build-system.scm
+++ b/guix/build/cargo-build-system.scm
@@ -114,7 +114,7 @@ Cargo.toml file present at its root."
(define* (check-for-pregenerated-files #:rest _)
"Check the source code for files which are known to generally be bundled
libraries or executables."
- (let ((pregenerated-files (find-files "." "\\.(a|dll|exe|lib)$")))
+ (let ((pregenerated-files (find-files "." "\\.(a|dll|dylib|exe|lib)$")))
(when (not (null-list? pregenerated-files))
(error "Possible pre-generated files found:" pregenerated-files))))