libproxy: upgrade spidermonkey
This commit is contained in:
parent
b41beef827
commit
c9815cd303
|
@ -5,8 +5,8 @@
|
||||||
, zlib
|
, zlib
|
||||||
, dbus
|
, dbus
|
||||||
, networkmanager
|
, networkmanager
|
||||||
, enableJavaScript ? stdenv.isDarwin || lib.meta.availableOn stdenv.hostPlatform spidermonkey_68
|
, enableJavaScript ? stdenv.isDarwin || lib.meta.availableOn stdenv.hostPlatform spidermonkey_78
|
||||||
, spidermonkey_68
|
, spidermonkey_78
|
||||||
, pcre
|
, pcre
|
||||||
, gsettings-desktop-schemas
|
, gsettings-desktop-schemas
|
||||||
, glib
|
, glib
|
||||||
|
@ -17,9 +17,7 @@
|
||||||
, JavaScriptCore
|
, JavaScriptCore
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
jsRuntime = if stdenv.hostPlatform.isDarwin then JavaScriptCore else spidermonkey_68;
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
pname = "libproxy";
|
pname = "libproxy";
|
||||||
version = "0.4.17";
|
version = "0.4.17";
|
||||||
|
|
||||||
|
@ -43,7 +41,7 @@ in stdenv.mkDerivation rec {
|
||||||
python3
|
python3
|
||||||
zlib
|
zlib
|
||||||
] ++ lib.optionals enableJavaScript [
|
] ++ lib.optionals enableJavaScript [
|
||||||
jsRuntime
|
(if stdenv.hostPlatform.isDarwin then JavaScriptCore else spidermonkey_78)
|
||||||
] ++ (if stdenv.hostPlatform.isDarwin then [
|
] ++ (if stdenv.hostPlatform.isDarwin then [
|
||||||
SystemConfiguration
|
SystemConfiguration
|
||||||
CoreFoundation
|
CoreFoundation
|
||||||
|
|
Loading…
Reference in a new issue