hhvm: fix location of include files in $out

Fixes a "double prefix" issue, where parts of the include files
for hhvm where located in `$out/$out/include` instead of `$out/include`.

+5
+5
pkgs/development/compilers/hhvm/default.nix
··· 33 33 # work around broken build system 34 34 NIX_CFLAGS_COMPILE = "-I${freetype.dev}/include/freetype2"; 35 35 36 + # the cmake package does not handle absolute CMAKE_INSTALL_INCLUDEDIR correctly 37 + # (setting it to an absolute path causes include files to go to $out/$out/include, 38 + # because the absolute path is interpreted with root at $out). 39 + cmakeFlags = "-DCMAKE_INSTALL_INCLUDEDIR=include"; 40 + 36 41 prePatch = '' 37 42 substituteInPlace hphp/util/generate-buildinfo.sh \ 38 43 --replace /bin/bash ${stdenv.shell}