From 44a2ca4a34ceb49b339ed8828d1ce6c5ecd493af Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 15 Apr 2016 03:48:49 +0200 Subject: [PATCH] cool-retro-term: Add running {pre,post}Configure Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of cool-retro-term override the whole configurePhase, so this hook isn't run at all. This fixes the build of cool-retro-term and it now successfully compiles on my machine. Signed-off-by: aszlig --- pkgs/applications/misc/cool-retro-term/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/cool-retro-term/default.nix b/pkgs/applications/misc/cool-retro-term/default.nix index 92328ab9846..67b9b601139 100644 --- a/pkgs/applications/misc/cool-retro-term/default.nix +++ b/pkgs/applications/misc/cool-retro-term/default.nix @@ -19,7 +19,11 @@ stdenv.mkDerivation rec { buildInputs = [ qtbase qtquick1 qmltermwidget qtquickcontrols qtgraphicaleffects ]; nativeBuildInputs = [ makeQtWrapper ]; - configurePhase = "qmake PREFIX=$out"; + configurePhase = '' + runHook preConfigure + qmake PREFIX=$out + runHook postConfigure + ''; installPhase = "make -j $NIX_BUILD_CORES INSTALL_ROOT=$out install";