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