cool-retro-term: move to qmakeHook
This reverts commit 44a2ca4a34ceb49b339ed8828d1ce6c5ecd493af.
This commit is contained in:
parent
6995d01939
commit
1237d0b820
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchgit, makeQtWrapper, qtbase, qtquick1, qmltermwidget,
|
||||
qtquickcontrols, qtgraphicaleffects }:
|
||||
qtquickcontrols, qtgraphicaleffects, qmakeHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.0.0";
|
||||
@ -17,15 +17,9 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ];
|
||||
nativeBuildInputs = [ makeQtWrapper ];
|
||||
nativeBuildInputs = [ makeQtWrapper qmakeHook ];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
qmake PREFIX=$out
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
installPhase = "make -j $NIX_BUILD_CORES INSTALL_ROOT=$out install";
|
||||
installFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||
|
||||
preFixup = ''
|
||||
mv $out/usr/share $out/share
|
||||
|
Loading…
x
Reference in New Issue
Block a user