From 0b5b04b91f7ba9ce4783c1496848d819bbc8b2fc Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 14 Mar 2023 13:55:35 +0200 Subject: [PATCH] gnu: rust-libmimalloc-sys-0.1: Remove bundled libraries, executables. * gnu/packages/crates-io.scm (rust-libmimalloc-sys-0.1)[source]: Add snippet to remove bundled libraries and executables. --- gnu/packages/crates-io.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 065d1f17c9..92d5e584f8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31931,7 +31931,10 @@ (define-public rust-libmimalloc-sys-0.1 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0bbm03687j9fspvk6nqspmjlvchlvbxydl0mrc1x9i1k6kqiy5c2")))) + "0bbm03687j9fspvk6nqspmjlvchlvbxydl0mrc1x9i1k6kqiy5c2")) + (modules '((guix build utils))) + (snippet + '(begin (delete-file-recursively "c_src/mimalloc/bin"))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs