cmake 2.8: Fix build with shuffled outputs

This commit is contained in:
Tuomas Tynkkynen 2016-04-17 06:25:09 +03:00
parent ba6d94e6a5
commit 8ed3d6a7e5

View File

@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = optional wantPS ps;
CMAKE_PREFIX_PATH = concatStringsSep ":"
(concatMap (p: [ p p.out ]) buildInputs);
(concatMap (p: [ (p.dev or p) (p.out or p) ]) buildInputs);
configureFlags =
"--docdir=/share/doc/${name} --mandir=/share/man --system-libs"