summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-06-20 14:16:13 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-06-20 14:16:13 +0300
commit6f2df20b0f8555ab1568ad1d661cb6e737a4bb8f (patch)
treec9235e5c2945d06c8bbf5d4272ccd126e094d0aa
parent8d342711dd59a68c0f756253404ab84f5a9fc19c (diff)
downloadguix-6f2df20b0f8555ab1568ad1d661cb6e737a4bb8f.tar.gz
gnu: rust-libgit2-sys-0.12: Remove bundled library.
This fixes <https://issues.guix.gnu.org/56020>.

* gnu/packages/crates-io.scm (rust-libgit2-sys-0.12)[source]: Add
snippet to remove bundled code.
-rw-r--r--gnu/packages/crates-io.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2b05683028..f9bc9b42de 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31353,7 +31353,10 @@ algorithm and related formats (ZLIB, GZIP).")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1axsdyb2i67pn85vh8sb2z037n88fiiwqghkzsr1jrcdy2g1cs4g"))))
+         "1axsdyb2i67pn85vh8sb2z037n88fiiwqghkzsr1jrcdy2g1cs4g"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (delete-file-recursively "libgit2")))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs