mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
parent
3a713b166e
commit
a3d909836d
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, makeQtWrapper }:
|
||||
{ stdenv, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmakeHook, makeQtWrapper }:
|
||||
|
||||
let
|
||||
|
||||
@ -37,7 +37,7 @@ in stdenv.mkDerivation rec {
|
||||
owner = "gillesdegottex";
|
||||
};
|
||||
|
||||
buildInputs = [ fftw libsndfile qtbase qtmultimedia ];
|
||||
buildInputs = [ fftw libsndfile qtbase qtmultimedia qmakeHook ];
|
||||
|
||||
nativeBuildInputs = [ makeQtWrapper ];
|
||||
|
||||
@ -47,10 +47,8 @@ in stdenv.mkDerivation rec {
|
||||
cp -Rv "${libqaudioextra.src}"/* external/libqaudioextra
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
qmake PREFIX=$out PREFIXSHORTCUT=$out dfasma.pro
|
||||
runHook postConfigure
|
||||
preConfigure = ''
|
||||
qmakeFlags="$qmakeFlags PREFIXSHORTCUT=$out"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user