qt5ct: qtsvg, qmakeFlags nixification
This commit is contained in:
parent
e59c610d58
commit
81fed28811
@ -1,4 +1,4 @@
|
|||||||
{ mkDerivation, lib, fetchurl, qtbase, qttools, qmake }:
|
{ mkDerivation, lib, fetchurl, qtbase, qtsvg, qttools, qmake }:
|
||||||
|
|
||||||
let inherit (lib) getDev; in
|
let inherit (lib) getDev; in
|
||||||
|
|
||||||
@ -13,16 +13,13 @@ mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ qmake qttools ];
|
nativeBuildInputs = [ qmake qttools ];
|
||||||
|
|
||||||
buildInputs = [ qtbase ];
|
buildInputs = [ qtbase qtsvg ];
|
||||||
|
|
||||||
qmakeFlags = [
|
qmakeFlags = [
|
||||||
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
|
"LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease"
|
||||||
|
"PLUGINDIR=${placeholder "out"}/${qtbase.qtPluginPrefix}"
|
||||||
];
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
|
||||||
qmakeFlags+=" PLUGINDIR=$out/$qtPluginPrefix"
|
|
||||||
'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user