doxygen: fix finding libiconv after #13856
The changed the build system to cmake, and it somehow won't find the includes. I'm lazy to investigate details ATM.
This commit is contained in:
parent
c73191f11e
commit
0f5dff43b7
@ -3,14 +3,14 @@
|
|||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "doxygen-1.8.11";
|
name = "doxygen-1.8.11";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.stack.nl/pub/users/dimitri/${name}.src.tar.gz";
|
url = "ftp://ftp.stack.nl/pub/users/dimitri/${name}.src.tar.gz";
|
||||||
sha256 = "0ja02pm3fpfhc5dkry00kq8mn141cqvdqqpmms373ncbwi38pl35";
|
sha256 = "0ja02pm3fpfhc5dkry00kq8mn141cqvdqqpmms373ncbwi38pl35";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ perl python flex bison ]
|
[ perl python flex bison ]
|
||||||
++ stdenv.lib.optional (qt4 != null) qt4
|
++ stdenv.lib.optional (qt4 != null) qt4
|
||||||
@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
|
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices libiconv ];
|
||||||
|
|
||||||
cmakeFlags =
|
cmakeFlags =
|
||||||
|
[ "-DICONV_INCLUDE_DIR=${libiconv}/include" ] ++
|
||||||
stdenv.lib.optional (qt4 != null) "-Dbuild_wizard=YES";
|
stdenv.lib.optional (qt4 != null) "-Dbuild_wizard=YES";
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE =
|
NIX_CFLAGS_COMPILE =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user