summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-12-06 09:22:11 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-12-06 09:22:11 +0200
commit063f6dfc37a674b24ca75fd20530a8039bddfd8f (patch)
treee87db4c371d0b5b8de066ad3d00f1ef52b3ae70a /gnu/packages
parent937bc5841429f40a64e6b25d5d4c2fe3276789f1 (diff)
downloadguix-063f6dfc37a674b24ca75fd20530a8039bddfd8f.tar.gz
gnu: rust-libgit2-sys-0.12: Remove bundled library.
* gnu/packages/crates-io.scm (rust-libgit2-sys-0.12)[source]: Add
snippet to remove bundled libgit2 source.
Diffstat (limited to 'gnu/packages')
-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 eb39a04e23..78fa6a1cd3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13930,7 +13930,10 @@ algorithm and related formats (ZLIB, GZIP).")
        (uri (crate-uri "libgit2-sys" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0jgmp69a53lki14p8pigxniwyl755lhqzl0r56ppqps9wrcay9cg"))))
+        (base32 "0jgmp69a53lki14p8pigxniwyl755lhqzl0r56ppqps9wrcay9cg"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (delete-file-recursively "libgit2") #t))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs