mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 17:49:58 +03: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 {
|
stdenv.mkDerivation rec {
|
||||||
@ -12,13 +12,14 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase ];
|
buildInputs = [ qtbase ];
|
||||||
nativeBuildInputs = [ qmakeHook ];
|
nativeBuildInputs = [ qmakeHook which ];
|
||||||
|
|
||||||
enableParallelBuild = true;
|
enableParallelBuild = true;
|
||||||
|
|
||||||
configurePhase = ''
|
dontUseQmakeConfigure = true;
|
||||||
|
configureFlags = "-config release";
|
||||||
|
preConfigure = ''
|
||||||
sed -i -e 's|/bin/pwd|pwd|g' configure
|
sed -i -e 's|/bin/pwd|pwd|g' configure
|
||||||
./configure -config release -prefix $out -qmake $QMAKE
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user