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 | |
parent | d45d243749540c00b84b93b7e5d2645a6fab44d0 (diff) | |
download | nixpkgs-c46869f13b276d27f9940378c53588ef4f90e049.tar nixpkgs-c46869f13b276d27f9940378c53588ef4f90e049.tar.gz nixpkgs-c46869f13b276d27f9940378c53588ef4f90e049.tar.bz2 nixpkgs-c46869f13b276d27f9940378c53588ef4f90e049.tar.lz nixpkgs-c46869f13b276d27f9940378c53588ef4f90e049.tar.xz nixpkgs-c46869f13b276d27f9940378c53588ef4f90e049.tar.zst nixpkgs-c46869f13b276d27f9940378c53588ef4f90e049.zip |
neko: Use dev outputs when building an include path
Diffstat (limited to 'pkgs')
-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 32c1bbbe941..a036e7e6939 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}) } |