Merge pull request #185853 from wegank/libproxy-darwin
libproxy: fix build on darwin
This commit is contained in:
commit
ae408030f0
1 changed files with 11 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, cmake
|
, cmake
|
||||||
, zlib
|
, zlib
|
||||||
|
@ -28,6 +30,14 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-pqj1LwRdOK2CUu3hYIsogQIXxWzShDuKEbDTbtWkgnQ=";
|
hash = "sha256-pqj1LwRdOK2CUu3hYIsogQIXxWzShDuKEbDTbtWkgnQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = lib.optionals stdenv.isDarwin [
|
||||||
|
# https://github.com/libproxy/libproxy/pull/189
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/libproxy/libproxy/commit/4331b9db427ce2c25ff5eeb597bec4bc35ed1a0b.patch";
|
||||||
|
sha256 = "sha256-uTh3rYVvEke1iWVHsT3Zj2H1F+gyLrffcmyt0JEKaCA=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
outputs = [ "out" "dev" "py3" ];
|
outputs = [ "out" "dev" "py3" ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
Loading…
Reference in a new issue