smplayer: fix build after qmakeHook

This commit is contained in:
Vincent Laporte 2016-04-28 21:37:16 +00:00
parent b539f8e468
commit 5de3cfe210

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, qtscript }: { stdenv, fetchurl, qmakeHook, qtscript }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "smplayer-16.1.0"; name = "smplayer-16.1.0";
@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
patches = [ ./basegui.cpp.patch ]; patches = [ ./basegui.cpp.patch ];
buildInputs = [ qtscript ]; buildInputs = [ qmakeHook qtscript ];
dontUseQmakeConfigure = true;
preConfigure = '' preConfigure = ''
makeFlags="PREFIX=$out" makeFlags="PREFIX=$out"