mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
readline-6.3 (the default): split dev and doc outputs
This commit is contained in:
parent
ef3f961610
commit
afc01cde32
3 changed files with 4 additions and 2 deletions
|
@ -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; {
|
||||
|
|
|
@ -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; {
|
||||
|
|
|
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0hzxr9jxqqx5sxsv9vmlxdnvlr9vi4ih1avjb869hbs6p5qn1fjn";
|
||||
};
|
||||
|
||||
outputs = [ "dev" "out" "doc" ];
|
||||
|
||||
propagatedBuildInputs = [ncurses];
|
||||
|
||||
patchFlags = "-p0";
|
||||
|
|
Loading…
Reference in a new issue