3
0
Fork 0
forked from mirrors/nixpkgs

cool-retro-term: move to qmakeHook

This reverts commit 44a2ca4a34.
This commit is contained in:
Nikolay Amiantov 2016-04-16 22:59:20 +03:00
parent 6995d01939
commit 1237d0b820

View file

@ -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