···3333 # work around broken build system
3434 NIX_CFLAGS_COMPILE = "-I${freetype.dev}/include/freetype2";
35353636+ # the cmake package does not handle absolute CMAKE_INSTALL_INCLUDEDIR correctly
3737+ # (setting it to an absolute path causes include files to go to $out/$out/include,
3838+ # because the absolute path is interpreted with root at $out).
3939+ cmakeFlags = "-DCMAKE_INSTALL_INCLUDEDIR=include";
4040+3641 prePatch = ''
3742 substituteInPlace hphp/util/generate-buildinfo.sh \
3843 --replace /bin/bash ${stdenv.shell}