From dbc1605deaeafc07c79cddf4d5e756074d8825b3 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 15 Apr 2016 04:46:52 +0200 Subject: [PATCH] shotcut: Fix running of {pre,post}Configure Commit 0055c6a introduced a new preConfigure hook that sets the right qmake path. Unfortunately the mkDerivation attributes of shotcut override the whole configurePhase, so this hook isn't run at all. However, this still doesn't fix the package and its already marked as broken. The build fails with the following error: Project ERROR: Unknown module(s) in QT: qml quick webkitwidgets x11extras Signed-off-by: aszlig --- pkgs/applications/video/shotcut/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/video/shotcut/default.nix b/pkgs/applications/video/shotcut/default.nix index 74f9c1604b2..d2400475a0b 100644 --- a/pkgs/applications/video/shotcut/default.nix +++ b/pkgs/applications/video/shotcut/default.nix @@ -11,7 +11,11 @@ stdenv.mkDerivation rec { buildInputs = [ SDL frei0r gettext makeWrapper mlt pkgconfig qtbase ]; - configurePhase = "qmake PREFIX=$out"; + configurePhase = '' + runHook preConfigure + qmake PREFIX=$out + runHook postConfigure + ''; postInstall = '' mkdir -p $out/share/shotcut