Improve build sytem support for readline instead of editline #9728
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CPP variable is now
USE_READLINE
notREADLINE
configure.ac
supports with new CLI flagpackage.nix
supports with new configuration optionflake.nix
CIs this (along with no markdown)Remove old Ubuntu 16.04 stop-gap too, as that is now quite old.
Motivation
editline does not build for Windows, but readline should. (I am still working on this in Nixpkgs at this time, however. So there will be a follow-up Nix PR removing the windows-only skipping of the readline library once I am done.)
Per https://salsa.debian.org/debian/nix/-/blob/master/debian/rules?ref_type=heads#L27 and repl: give user the choice between libeditline and libreadline #2551, Debian builds Nix with readline. Now we better support and CI that build configuration.
Context
This is picking up where #2551 left off, ensuring we test a few more things not merely have CPP for them.
Priorities and Process
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.