libproxy: fix compilation
also use webkit backend (webkitgtk is also a more common gnome/gtk) Changelog: https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/NEWS?h=1.6.2
This commit is contained in:
parent
9987abca8e
commit
43c0530ca6
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, pkgconfig, cmake
|
{ stdenv, lib, fetchFromGitHub, pkgconfig, cmake
|
||||||
, dbus, networkmanager, spidermonkey_1_8_5 }:
|
, dbus, networkmanager, webkitgtk214x, pcre, python2 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libproxy-${version}";
|
name = "libproxy-${version}";
|
||||||
|
@ -16,7 +16,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig cmake ];
|
nativeBuildInputs = [ pkgconfig cmake ];
|
||||||
|
|
||||||
buildInputs = [ dbus networkmanager spidermonkey_1_8_5 ];
|
buildInputs = [ dbus networkmanager webkitgtk214x pcre ];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DWITH_WEBKIT3=ON"
|
||||||
|
"-DWITH_MOZJS=OFF"
|
||||||
|
"-DPYTHON_SITEPKG_DIR=$(out)/${python2.sitePackages}"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
|
|
Loading…
Reference in New Issue