nifskope: move to qmake4Hook
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, qt4 }:
|
{ stdenv, fetchurl, qt4, qmake4Hook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nifskope-1.1.3";
|
name = "nifskope-1.1.3";
|
||||||
@@ -10,14 +10,16 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ qt4 ];
|
buildInputs = [ qt4 ];
|
||||||
|
|
||||||
configurePhase =
|
nativeBuildInputs = [ qmake4Hook ];
|
||||||
|
|
||||||
|
preConfigure =
|
||||||
''
|
''
|
||||||
for i in *.cpp gl/*.cpp widgets/*.cpp; do
|
for i in *.cpp gl/*.cpp widgets/*.cpp; do
|
||||||
substituteInPlace $i --replace /usr/share/nifskope $out/share/nifskope
|
substituteInPlace $i --replace /usr/share/nifskope $out/share/nifskope
|
||||||
done
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
qmake -after TARGET=nifskope
|
qmakeFlags = [ "-after TARGET=nifskope" ];
|
||||||
''; # */
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user