cmake-2.8: fix build with multiple outputs

This commit is contained in:
Vladimír Čunát 2015-10-28 13:30:50 +01:00
parent deda7f46c7
commit 1d921ad3a7

View file

@ -47,8 +47,9 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = optional wantPS ps;
CMAKE_PREFIX_PATH = stdenv.lib.concatStringsSep ":" buildInputs;
CMAKE_PREFIX_PATH = stdenv.lib.concatStringsSep ":"
(concatMap (p: [ p p.out ]) buildInputs);
configureFlags =
"--docdir=/share/doc/${name} --mandir=/share/man --system-libs"
+ stdenv.lib.optionalString useQt4 " --qt-gui";