summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-04-15 04:46:52 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-04-15 05:26:02 +0200
commitdbc1605deaeafc07c79cddf4d5e756074d8825b3 (patch)
tree0ff56fc615e502339e1639e2d6066a5bdd11e4ed /pkgs/applications/video
parent11294eaf168b524da9601c8b35d71b72ba3ad040 (diff)
downloadnixpkgs-dbc1605deaeafc07c79cddf4d5e756074d8825b3.tar
nixpkgs-dbc1605deaeafc07c79cddf4d5e756074d8825b3.tar.gz
nixpkgs-dbc1605deaeafc07c79cddf4d5e756074d8825b3.tar.bz2
nixpkgs-dbc1605deaeafc07c79cddf4d5e756074d8825b3.tar.lz
nixpkgs-dbc1605deaeafc07c79cddf4d5e756074d8825b3.tar.xz
nixpkgs-dbc1605deaeafc07c79cddf4d5e756074d8825b3.tar.zst
nixpkgs-dbc1605deaeafc07c79cddf4d5e756074d8825b3.zip
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/shotcut/default.nix6
1 files changed, 5 insertions, 1 deletions
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