suil-qt5: fix build

This commit is contained in:
Robin Gloster 2017-03-11 14:47:29 +01:00
parent 3a4e2376e4
commit 91bbd73ffa
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, gtk2, lv2, pkgconfig, python, serd, sord, sratom
{ stdenv, lib, fetchurl, gtk2, lv2, pkgconfig, python, serd, sord, sratom, gcc6
, withQt4 ? true, qt4 ? null
, withQt5 ? false, qt5 ? null }:
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "1kji3lhha26qr6xm9j8ic5c40zbrrb5qnwm2qxzmsfxgmrz29wkf";
};
buildInputs = [ gtk2 lv2 pkgconfig python serd sord sratom ]
buildInputs = [ gtk2 lv2 pkgconfig python serd sord sratom gcc6 ]
++ (lib.optionals withQt4 [ qt4 ])
++ (lib.optionals withQt5 (with qt5; [ qtbase qttools ]));