1
0
Fork 1
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:
Meyer S. Jacobs 2016-06-29 18:29:59 -07:00 committed by Christoph Hrdinka
parent c4b346a539
commit bc0a7e7d44

View file

@ -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; {