qtox: run pre- and post-install hooks

Fixes #15744.
This commit is contained in:
Thomas Tuegel 2016-05-30 16:30:58 -05:00
parent 7299f68a05
commit a1facf3362

View file

@ -43,9 +43,13 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp qtox $out/bin
wrapQtProgram $out/bin/qtox
runHook postInstall
'';
enableParallelBuilding = true;