about summary refs log tree commit diff
path: root/pkgs/development/libraries/libgit2/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libgit2/default.nix')
-rw-r--r--pkgs/development/libraries/libgit2/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libgit2/default.nix b/pkgs/development/libraries/libgit2/default.nix
index e110ceb67aa8..847894d06587 100644
--- a/pkgs/development/libraries/libgit2/default.nix
+++ b/pkgs/development/libraries/libgit2/default.nix
@@ -22,7 +22,7 @@
 
 stdenv.mkDerivation (finalAttrs: {
   pname = "libgit2";
-  version = "1.8.1";
+  version = "1.8.4";
   # also check the following packages for updates: python3Packages.pygit2 and libgit2-glib
 
   outputs = ["lib" "dev" "out"];
@@ -31,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: {
     owner = "libgit2";
     repo = "libgit2";
     rev = "v${finalAttrs.version}";
-    hash = "sha256-J2rCxTecyLbbDdsyBWn9w7r3pbKRMkI9E7RvRgAqBdY=";
+    hash = "sha256-AVhDq9nC2ccwFYJmejr0hmnyV4AxZLamuHktYPlkzUs=";
   };
 
   cmakeFlags = [
@@ -49,9 +49,9 @@ stdenv.mkDerivation (finalAttrs: {
 
   buildInputs = [ zlib libssh2 openssl pcre llhttp ]
     ++ lib.optional withGssapi krb5
-    ++ lib.optional stdenv.isDarwin Security;
+    ++ lib.optional stdenv.hostPlatform.isDarwin Security;
 
-  propagatedBuildInputs = lib.optional (!stdenv.isLinux) libiconv;
+  propagatedBuildInputs = lib.optional (!stdenv.hostPlatform.isLinux) libiconv;
 
   doCheck = true;
   checkPhase = ''