From 13d8080f21859cac0f020958935885a5795b9367 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 8 Oct 2023 15:54:57 +0300 Subject: [PATCH] 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. --- gnu/packages/crates-io.scm | 9 +++++---- 1 file 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