readline-6.3 (the default): split dev and doc outputs

This commit is contained in:
Vladimír Čunát 2015-10-13 20:00:20 +02:00
parent ef3f961610
commit afc01cde32
3 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ spidermonkey_24 ];
postInstall = ''
sed 's|-lreadline|-L${readline}/lib -lreadline|g' -i $out/lib/libgjs.la
sed 's|-lreadline|-L${readline.out}/lib -lreadline|g' -i $out/lib/libgjs.la
'';
meta = with stdenv.lib; {

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ spidermonkey_24 ];
postInstall = ''
sed 's|-lreadline|-L${readline}/lib -lreadline|g' -i $out/lib/libgjs.la
sed 's|-lreadline|-L${readline.out}/lib -lreadline|g' -i $out/lib/libgjs.la
'';
meta = with stdenv.lib; {

View File

@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0hzxr9jxqqx5sxsv9vmlxdnvlr9vi4ih1avjb869hbs6p5qn1fjn";
};
outputs = [ "dev" "out" "doc" ];
propagatedBuildInputs = [ncurses];
patchFlags = "-p0";