aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/libcommuni
diff options
context:
space:
mode:
authorMeyer S. Jacobs <meyermagic@gmail.com>2016-06-29 18:29:59 -0700
committerChristoph Hrdinka <c.git@hrdinka.at>2016-06-30 09:56:09 +0200
commitbc0a7e7d44cea69fc57680f490cfa7c5494a367a (patch)
treee0a84e50b33f1e65d03034d1ae53f82339171705 /pkgs/development/libraries/libcommuni
parentc4b346a539068f4c9b28b74162b0a601f595c354 (diff)
Fixed libcommuni build.
Diffstat (limited to 'pkgs/development/libraries/libcommuni')
-rw-r--r--pkgs/development/libraries/libcommuni/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libcommuni/default.nix b/pkgs/development/libraries/libcommuni/default.nix
index cddfa12e2810..f4cc5f00975a 100644
--- a/pkgs/development/libraries/libcommuni/default.nix
+++ b/pkgs/development/libraries/libcommuni/default.nix
@@ -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; {