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

The libeditline used by nix is not packed for Debian #9

Closed
KaiHa opened this issue Nov 15, 2018 · 6 comments
Closed

The libeditline used by nix is not packed for Debian #9

KaiHa opened this issue Nov 15, 2018 · 6 comments

Comments

@KaiHa
Copy link
Owner

KaiHa commented Nov 15, 2018

The libeditline (see here) that is used by nix is not available on Debian. Currently I try to figure out if one of the libraries that is available on Debian is compatible.

@KaiHa
Copy link
Owner Author

KaiHa commented Nov 18, 2018

Neither libeditline, libedit2 nor libreadline are 100% compatible. Will try my luck with libreadline. See here:

https://github.com/KaiHa/nix/commits/kaiha/libreadline_option
https://github.com/KaiHa/nix-debian/commits/wip/readline

@KaiHa
Copy link
Owner Author

KaiHa commented Nov 20, 2018

Created a pull request to add support for libreadline into nix.

@KaiHa
Copy link
Owner Author

KaiHa commented Nov 20, 2018

Pull request was merged. Looking forward to nix 2.2.

@KaiHa KaiHa closed this as completed Nov 20, 2018
@cyraxjoe
Copy link

@KaiHa did you verified that readline worked as expected? History is not working for me when using nix repl . It build and links just fine (debian buster), but the history (and auto complete) is not working. But the repl is not crashing or anything, is simply not writing the history in the history file.

This is for the libreadline 7.

@KaiHa
Copy link
Owner Author

KaiHa commented Apr 16, 2019

@cyraxjoe, it is working for me on Stretch. I am wondering if I did some configuration in the inputrc (man readline), I can't tell for sure.

Tab completion will not work, that is the only limitation I can remember.

@KaiHa
Copy link
Owner Author

KaiHa commented Apr 16, 2019

Hmm, on Buster history is also not working for me. I will be tracking this in #28.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants