git.iko.soy/typeable/nixpkgs
on master help sign in
qt5ct: qtsvg, qmakeFlags nixification
commit81fed28811b06f2ab70d03f3e9a757f0ee40e086 authorWill Dietz <w@wdtz.org> dateTue 1 Oct 2019, 00:15 (7 years ago) parente59c610
1 file changed+3−6
pkgs/tools/misc/qt5ct/default.nix+3−6
pkgs/tools/misc/qt5ct/default.nix+3−6
@@ -1,4 +1,4 @@
1−{ mkDerivation, lib, fetchurl, qtbase, qttools, qmake }:
1+{ mkDerivation, lib, fetchurl, qtbase, qtsvg, qttools, qmake }:
22
33let inherit (lib) getDev; in
44
@@ -13,16 +13,13 @@ mkDerivation rec {
1313
1414 nativeBuildInputs = [ qmake qttools ];
1515
16− buildInputs = [ qtbase ];
16+ buildInputs = [ qtbase qtsvg ];
1717
1818 qmakeFlags = [
1919 "LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
20+ "PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
2021 ];
2122
22− preConfigure = ''
23− qmakeFlags+=" PLUGINDIR=$out/$qtPluginPrefix"
24− '';
25−
2623 enableParallelBuilding = true;
2724
2825 meta = with lib; {