neko: Use dev outputs when building an include path

This commit is contained in:
Tuomas Tynkkynen 2016-08-30 23:16:34 +03:00
parent d45d243749
commit c46869f13b

View File

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
});
prePatch = with stdenv.lib; let
libs = concatStringsSep "," (map (lib: "\"${lib}/include\"") buildInputs);
libs = concatStringsSep "," (map (lib: "\"${lib.dev}/include\"") buildInputs);
in ''
sed -i -e '/^search_includes/,/^}/c \
search_includes = function(_) { return $array(${libs}) }