Skip to content
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

Improve build sytem support for readline instead of editline #9728

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

Ericson2314
Copy link
Member

  • CPP variable is now USE_READLINE not READLINE

  • configure.ac supports with new CLI flag

  • package.nix supports with new configuration option

  • flake.nix CIs this (along with no markdown)

Remove old Ubuntu 16.04 stop-gap too, as that is now quite old.

Motivation

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.

@github-actions github-actions bot added the repl The Read Eval Print Loop, "nix repl" command and debugger label Jan 9, 2024
@wegank
Copy link
Member

wegank commented Jan 9, 2024

Haven't had time to test, but pkgsCross.mingwW64.readline should be buildable on master after NixOS/nixpkgs#279491 with this patch.

configure.ac Outdated Show resolved Hide resolved
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/nix-on-windows/1113/99

Changes:

- CPP variable is now `USE_READLINE` not `READLINE`

- `configure.ac` supports with new CLI flag

- `package.nix` supports with new configuration option

- `flake.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 NixOS#2551, Debian builds Nix with readline. Now we better support and
  CI that build configuration.

This is picking up where NixOS#2551 left off, ensuring we test a few more
things not merely have CPP for them.

Co-authored-by: Weijia Wang <[email protected]>
@Ericson2314
Copy link
Member Author

@wegank said "LGTM otherwise", and this is quite trivial, so I'll merge.

@Ericson2314 Ericson2314 merged commit 84aa8e9 into NixOS:master Jan 9, 2024
7 checks passed
@Ericson2314 Ericson2314 deleted the readline-support branch January 9, 2024 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repl The Read Eval Print Loop, "nix repl" command and debugger windows
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants