Skip to content

Commit

Permalink
Merge pull request #70065 from worldofpeace/libproxy-19.09/fixbuild
Browse files Browse the repository at this point in the history
[19.09] libproxy: build with spidermonkey_60
  • Loading branch information
worldofpeace committed Oct 1, 2019
2 parents 6bce1ac + 44f8f39 commit 2ed7dfe
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions pkgs/development/libraries/libproxy/default.nix
Expand Up @@ -6,7 +6,7 @@
, fetchpatch
, dbus
, networkmanager
, spidermonkey_38
, spidermonkey_60
, pcre
, gsettings-desktop-schemas
, glib
Expand Down Expand Up @@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
JavaScriptCore
] else [
glib
spidermonkey_38
spidermonkey_60
dbus
networkmanager
]);
Expand All @@ -59,7 +59,21 @@ stdenv.mkDerivation rec {
"-DPYTHON3_SITEPKG_DIR=${placeholder "py3"}/${python3.sitePackages}"
];

patches = stdenv.lib.optionals stdenv.isDarwin [
patches = [
# Make build with spidermonkey_60
(fetchpatch {
url = "https://github.com/libproxy/libproxy/pull/86.patch";
sha256 = "17c06ilinrnzr7xnnmw9pc6zrncyaxcdd6r6k1ah5p156skbykfs";
})
(fetchpatch {
url = "https://github.com/libproxy/libproxy/pull/87.patch";
sha256 = "0sagzfwm16f33inbkwsp88w9wmrd034rjmw0y8d122f7k1qfx6zc";
})
(fetchpatch {
url = "https://github.com/libproxy/libproxy/pull/95.patch";
sha256 = "18vyr6wlis9zfwml86606jpgb9mss01l9aj31iiciml8p857aixi";
})
] ++ stdenv.lib.optionals stdenv.isDarwin [
(fetchpatch {
url = "https://github.com/libproxy/libproxy/commit/44158f03f8522116758d335688ed840dfcb50ac8.patch";
sha256 = "0axfvb6j7gcys6fkwi9dkn006imhvm3kqr83gpwban8419n0q5v1";
Expand Down

0 comments on commit 2ed7dfe

Please sign in to comment.