mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
libgit2: fixup build on x86_64-darwin
https://hydra.nixos.org/build/229709542/nixlog/28/tail
This commit is contained in:
parent
167f6dfee4
commit
98b5317976
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, cmake
|
, cmake
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, python3
|
, python3
|
||||||
@ -29,6 +30,14 @@ stdenv.mkDerivation rec {
|
|||||||
hash = "sha256-3ZVBGd2T5DQKsDEc5a7pS0yz01+rDCszU9ZK0zxvfyQ=";
|
hash = "sha256-3ZVBGd2T5DQKsDEc5a7pS0yz01+rDCszU9ZK0zxvfyQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "darwin-errSSLNetworkTimeout.patch";
|
||||||
|
url = "https://github.com/libgit2/libgit2/commit/3e15292d8863da316a57be23fede04f443460686.patch";
|
||||||
|
hash = "sha256-N314YK7osO9L3hCXb+FcMoDM8iBW9Bt8D5O2Szdz7YA=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DUSE_HTTP_PARSER=system"
|
"-DUSE_HTTP_PARSER=system"
|
||||||
"-DUSE_SSH=ON"
|
"-DUSE_SSH=ON"
|
||||||
|
Loading…
Reference in New Issue
Block a user