guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/15: gnu: rust-cortex-m-0.7: Remove precompiled files.


From: guix-commits
Subject: 14/15: gnu: rust-cortex-m-0.7: Remove precompiled files.
Date: Fri, 13 Oct 2023 02:02:07 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 26a6c60bcf086ee07774410906c00777b8f48fde
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Oct 12 18:59:14 2023 +0300

    gnu: rust-cortex-m-0.7: Remove precompiled files.
    
    * gnu/packages/crates-io.scm (rust-cortex-m-0.7)[source]: Add snippet to
    remove precompiled files.
---
 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 2fbf042d60..f26edc3e69 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17794,7 +17794,10 @@ hash functions.")
        (uri (crate-uri "cortex-m" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1cw3nyip3s81r6qaa3azrb0654jxw465j5fm126fqja48bpikj9a"))))
+        (base32 "1cw3nyip3s81r6qaa3azrb0654jxw465j5fm126fqja48bpikj9a"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 (delete-file-recursively "bin")))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]