lix/src/nix
Kai Harries de5997332d repl: give user the choice between libeditline and libreadline
The goal is to support libeditline AND libreadline and let the user
decide at compile time which one to use.

Add a compile time option to use libreadline instead of
libeditline. If compiled against libreadline completion functionality
is lost because of a incompatibility between libeditlines and
libreadlines completion function. Completion with libreadline is
possible and can be added later.

To use libreadline instead of libeditline the environment
variables 'EDITLINE_LIBS' and 'EDITLINE_CFLAGS' have to been set
during the ./configure step.

Example:

  EDITLINE_LIBS="/usr/lib/x86_64-linux-gnu/libhistory.so /usr/lib/x86_64-linux-gnu/libreadline.so"
  EDITLINE_CFLAGS="-DREADLINE"

The reason for this change is that for example on Debian already three
different editline libraries exist but none of those is compatible the
flavor used by nix. My hope is that with this change it would be
easier to port nix to systems that have already libreadline available.
2018-11-20 15:43:21 +01:00
..
add-to-store.cc Add "nix add-to-store" command 2017-09-14 13:29:33 +02:00
build.cc Merge branch 'fix/dry-run-partially' of https://github.com/dtzWill/nix 2018-02-22 12:18:20 +01:00
cat.cc Replace Unicode quotes in user-facing strings by ASCII 2017-07-30 12:32:45 +01:00
command.cc Remove reference to non-existent manpages 2018-03-29 12:29:10 +02:00
command.hh toBuildables -> build 2018-02-12 17:06:06 +01:00
copy.cc Don't talk about a "current folder build output" 2018-09-27 21:01:19 +02:00
doctor.cc nix doctor: return nonzero exitcode if a check fails 2018-10-29 12:09:22 +00:00
dump-path.cc Fix #1762 2018-02-13 14:26:19 +00:00
edit.cc Restore parent mount namespace before executing a child process 2018-11-13 16:15:30 +01:00
eval.cc nix eval: Stop progress bar before printing the result 2018-01-17 12:04:44 +01:00
hash.cc nix: Respect -I, --arg, --argstr 2017-10-24 12:58:34 +02:00
installables.cc Slightly questionable workaround for #2342 2018-08-10 11:34:41 +02:00
legacy.cc Start of new Nix command-line interface 2016-02-09 21:28:29 +01:00
legacy.hh Fix Darwin build 2016-03-15 12:11:27 +01:00
local.mk editline: wip 2018-10-29 08:44:58 -05:00
log.cc nix log: use pager 2018-01-12 15:05:26 -06:00
ls.cc nix ls-nar: allow reading from FIFOs 2018-11-16 16:24:36 +01:00
main.cc Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
optimise-store.cc nix optimise-store: Add 2017-08-16 20:56:03 +02:00
path-info.cc nix path-info: Remove trailing spaces 2018-09-01 00:04:57 +02:00
ping-store.cc Manual: Update chapter on remote builds 2018-02-21 16:24:26 +01:00
progress-bar.cc Revert "progress-bar: re-draw last update if nothing new for 1sec." 2018-07-19 10:29:31 -05:00
progress-bar.hh nix run: Flush the progress bar before starting the command 2017-08-29 15:13:30 +02:00
repl.cc repl: give user the choice between libeditline and libreadline 2018-11-20 15:43:21 +01:00
run.cc Restore parent mount namespace before executing a child process 2018-11-13 16:15:30 +01:00
search.cc search: include version 2018-07-27 10:45:35 -05:00
show-config.cc Modularize config settings 2018-05-30 13:28:01 +02:00
show-derivation.cc Add "nix show-derivation" 2017-09-25 13:43:35 +02:00
sigs.cc nix: Respect -I, --arg, --argstr 2017-10-24 12:58:34 +02:00
upgrade-nix.cc nix upgrade-nix: Handle .nix-profile being a link to .../profiles/per-user/... 2018-08-30 21:18:56 +02:00
verify.cc Fix overflow when verifying signatures of content addressable paths 2018-09-25 21:19:24 -04:00
why-depends.cc nix why-depends: render output into $PAGER 2018-07-03 12:49:12 +02:00