New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readline80 -> readline81 #108721
readline80 -> readline81 #108721
Conversation
/rebase-staging |
9d2fbc0
to
1e55951
Compare
This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch) Result of 1 package built:
|
This needs a rebase. |
@lsix could you rebase this |
@FRidh Done! I have just rebuilt gdb after rebase, and everything looks ok. |
Hi - what needs to be done to get this merged in? I'd really like to try out that new bracketed-paste highlighting in Readline 8.1. 👀 |
As far as know, it should be OK. I’ll rebase it to current |
See https://lists.gnu.org/archive/html/info-gnu/2020-12/msg00002.html for release information
Readline 8.1 is required for bash-5.1 to work properly. From bash-5.1 release message[1]: > Bash can be linked against an already-installed Readline library > rather than the private version in lib/readline if desired. Only > readline-8.1 and later versions are able to provide all of the symbols > that bash-5.1 requires; earlier versions of the Readline library will > not work correctly. [1] https://lists.gnu.org/archive/html/info-gnu/2020-12/msg00003.html
Actually, some new packages rely on readline80 since I wrote those patches. I migrate them to readline81 and push updated patches. |
OK, I rebuilt the few derivations that still used Sorry for not noticing those conflicts earlier. |
@lsix do we want to add an alias for readline80? Otherwise I would merge it. |
@SuperSandro2000 I am not sure it is necessary to introduce alias for this, but I can if you wish. |
If anyone uses readline80 still then they would get an eval error instead of a nice message to use readline81. I think we should add one. |
readline-8.0 is not used anywhere in the tree (since introduction of readline-8.1); drop it.
Done. |
Motivation for this change
This PR updates readline-8.0 to readline-8.1. readline81 should be used with bash-5.1, which was forgotten when updating
bash_5
from 5.0 to 5.1Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)