guix-commits
[Top][All Lists]
Advanced

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

270/276: gnu: rust-cortex-m-0.7: Remove precompiled files.


From: guix-commits
Subject: 270/276: gnu: rust-cortex-m-0.7: Remove precompiled files.
Date: Wed, 18 Oct 2023 04:50:36 -0400 (EDT)

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

commit 94efc209c9995f1209b55d874b7aa276d09ef345
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 522e414eb8..bbd3e601dd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17836,7 +17836,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]