diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-04-15 03:48:49 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-04-15 05:26:02 +0200 |
commit | 44a2ca4a34ceb49b339ed8828d1ce6c5ecd493af (patch) | |
tree | f7436bdc5d97197b68ac2892b62591b1d07fe249 /pkgs/applications/misc/cool-retro-term | |
parent | 2d6ea2cc3072f9bd86d655bf7e614d556ee0b339 (diff) |
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/applications/misc/cool-retro-term')
-rw-r--r-- | pkgs/applications/misc/cool-retro-term/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/misc/cool-retro-term/default.nix b/pkgs/applications/misc/cool-retro-term/default.nix index 92328ab9846c..67b9b601139d 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"; |