icedtea_web: use glib rather than gtk2 in buildInputs

The dependency on GTK was removed in
c7aae0e400

Also, remove that pesky commented-out line from `preConfigure` too!
This commit is contained in:
Stefano Mazzucco 2019-08-13 22:42:32 +01:00
parent ebde1ddd0e
commit 2d4bdb8733

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cargo, rustc, autoreconfHook, jdk, gtk2, xulrunner, zip, pkgconfig, npapi_sdk, bash, bc }:
{ stdenv, fetchFromGitHub, cargo, rustc, autoreconfHook, jdk, glib, xulrunner, zip, pkgconfig, npapi_sdk, bash, bc }:
stdenv.mkDerivation rec {
name = "icedtea-web-${version}";
@ -13,10 +13,9 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ autoreconfHook pkgconfig bc ];
buildInputs = [ cargo rustc gtk2 xulrunner zip npapi_sdk ];
buildInputs = [ cargo rustc glib xulrunner zip npapi_sdk ];
preConfigure = ''
#patchShebangs javac.in
configureFlagsArray+=("BIN_BASH=${bash}/bin/bash")
'';