diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-08-30 23:16:34 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-08-30 23:16:34 +0300 |
commit | c46869f13b276d27f9940378c53588ef4f90e049 (patch) | |
tree | e3fcfb0a1e3d6318ab870a43f9482bcbe5f9abd9 /pkgs/development/compilers/neko | |
parent | d45d243749540c00b84b93b7e5d2645a6fab44d0 (diff) |
neko: Use dev outputs when building an include path
Diffstat (limited to 'pkgs/development/compilers/neko')
-rw-r--r-- | pkgs/development/compilers/neko/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/neko/default.nix b/pkgs/development/compilers/neko/default.nix index 32c1bbbe94148..a036e7e6939f0 100644 --- a/pkgs/development/compilers/neko/default.nix +++ b/pkgs/development/compilers/neko/default.nix @@ -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}) } |