summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-06 13:54:59 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-06 13:54:59 +0100
commitee00b7c3ec92baaf0d509dff12104279960ec001 (patch)
treeb5311a10c1a9e5366a1f000b2a2bbcf4f283e2d9
parent8bc7015e71d1e1c7605b711ffd967179d3d275ba (diff)
downloadguix-ee00b7c3ec92baaf0d509dff12104279960ec001.tar.gz
gnu: bat: Fix build.
* gnu/packages/rust-apps.scm (bat)[native-inputs]: Add pkg-config.
[inputs]: Add libgit2.

This is a followup to 063f6dfc37a674b24ca75fd20530a8039bddfd8f.
-rw-r--r--gnu/packages/rust-apps.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index c77ee71be9..c3d1d3bb26 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -76,8 +76,11 @@
        (("rust-assert-cmd" ,rust-assert-cmd-1)
         ("rust-predicates" ,rust-predicates-1)
         ("rust-tempdir" ,rust-tempdir-0.3))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
     (inputs
-     `(("zlib" ,zlib)))
+     `(("libgit2" ,libgit2)
+       ("zlib" ,zlib)))
     (home-page "https://github.com/sharkdp/bat")
     (synopsis "@command{cat} clone with syntax highlighting and git integration")
     (description