mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
Fixed libcommuni build.
This commit is contained in:
parent
c4b346a539
commit
bc0a7e7d44
|
@ -1,4 +1,4 @@
|
|||
{ fetchgit, qtbase, qmakeHook, stdenv
|
||||
{ fetchgit, qtbase, qmakeHook, which, stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -12,13 +12,14 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
buildInputs = [ qtbase ];
|
||||
nativeBuildInputs = [ qmakeHook ];
|
||||
nativeBuildInputs = [ qmakeHook which ];
|
||||
|
||||
enableParallelBuild = true;
|
||||
|
||||
configurePhase = ''
|
||||
dontUseQmakeConfigure = true;
|
||||
configureFlags = "-config release";
|
||||
preConfigure = ''
|
||||
sed -i -e 's|/bin/pwd|pwd|g' configure
|
||||
./configure -config release -prefix $out -qmake $QMAKE
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue