network-manager-iodine: compile withGnome=false

This commit is contained in:
David Guibert 2020-04-15 07:58:29 +02:00
parent f70a54893e
commit cb1cb445e8

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitLab, substituteAll, autoreconfHook, iodine, intltool, pkgconfig, networkmanager, libsecret, gtk3 { stdenv, fetchFromGitLab, substituteAll, autoreconfHook, iodine, intltool, pkgconfig, networkmanager, libsecret, gtk3
, withGnome ? true, gnome3, fetchpatch, libnma }: , withGnome ? true, gnome3, fetchpatch, libnma, glib }:
let let
pname = "NetworkManager-iodine"; pname = "NetworkManager-iodine";
@ -27,7 +27,7 @@ in stdenv.mkDerivation {
}) })
]; ];
buildInputs = [ iodine networkmanager ] buildInputs = [ iodine networkmanager glib ]
++ stdenv.lib.optionals withGnome [ gtk3 libsecret libnma ]; ++ stdenv.lib.optionals withGnome [ gtk3 libsecret libnma ];
nativeBuildInputs = [ intltool autoreconfHook pkgconfig ]; nativeBuildInputs = [ intltool autoreconfHook pkgconfig ];