From 0f37287df5c4ba0343c292ddfe827224efa87daf Mon Sep 17 00:00:00 2001 From: Kirill Boltaev Date: Tue, 13 Sep 2016 20:42:55 +0300 Subject: treewide: explicitly specify gtk version --- pkgs/tools/system/lshw/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/tools/system/lshw/default.nix') diff --git a/pkgs/tools/system/lshw/default.nix b/pkgs/tools/system/lshw/default.nix index 02b331a36de..75ad15b7311 100644 --- a/pkgs/tools/system/lshw/default.nix +++ b/pkgs/tools/system/lshw/default.nix @@ -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 ""; -- cgit 1.4.1