Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
base: 2f8255cba159
Choose a base ref
...
head repository: NixOS/nix
compare: 338fcec779a5
Choose a head ref
  • 3 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 20, 2018

  1. Copy the full SHA
    b289d86 View commit details
    Browse the repository at this point in the history
  2. 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.
    KaiHa committed Nov 20, 2018
    Copy the full SHA
    de59973 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #2551 from KaiHa/kaiha/libreadline_option

    repl: give user the choice between libeditline and libreadline
    edolstra committed Nov 20, 2018
    Copy the full SHA
    338fcec View commit details
    Browse the repository at this point in the history