mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
neko: Use dev outputs when building an include path
This commit is contained in:
parent
d45d243749
commit
c46869f13b
@ -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}) }
|
||||
|
Loading…
Reference in New Issue
Block a user