summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-08 15:54:57 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:19 +0300
commit13d8080f21859cac0f020958935885a5795b9367 (patch)
tree26975b994055823d461b799e8837e887c0306f41
parent9bbf7d5937bea09a804717feb4afa4e5f29608b1 (diff)
downloadguix-13d8080f21859cac0f020958935885a5795b9367.tar.gz
gnu: rust-pcap-sys-0.1: Remove bundled libraries.
* gnu/packages/crates-io.scm (rust-pcap-sys-0.1)[source]: Add snippet to
remove bundled libraries.
-rw-r--r--gnu/packages/crates-io.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1a938275d6..1bae40ac5c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48023,11 +48023,12 @@ in pure Rust.")
      (origin
        (method url-fetch)
        (uri (crate-uri "pcap-sys" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "18w9c8i5zjnazay86219w4789482ya617z35cw433h12wbgjaiqi"))))
+        (base32 "18w9c8i5zjnazay86219w4789482ya617z35cw433h12wbgjaiqi"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 (delete-file-recursively "Lib")))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs