treewide: explicitly specify gtk version

This commit is contained in:
Kirill Boltaev
2016-09-13 21:09:24 +03:00
parent 4b55b0358a
commit 0f37287df5
19 changed files with 52 additions and 52 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
{ stdenv, fetchurl
, withGUI? false, gtk? null, pkgconfig? null, sqlite? null # compile GUI
, withGUI ? false, gtk2 ? null, pkgconfig? null, sqlite ? null # compile GUI
}:
stdenv.mkDerivation rec {
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1728b96gyjmrp31knzips9azn6wkfdp5k5dnbil7h7hgz99w177b";
};
buildInputs = [] ++ stdenv.lib.optional withGUI [ gtk pkgconfig sqlite ];
buildInputs = [] ++ stdenv.lib.optional withGUI [ gtk2 pkgconfig sqlite ];
postBuild = if withGUI then "make gui" else "";