From f052db16e48391a77cbe14a872bc9f54f06dd411 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Fri, 26 Apr 2019 13:32:49 -0500 Subject: [PATCH] editline: fix crash with term narrower than completions Fixes issue mentioned on #nixos earlier today by @edef1c. --- pkgs/development/libraries/editline/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/editline/default.nix b/pkgs/development/libraries/editline/default.nix index 4e228f8f4325..161d85b02bfd 100644 --- a/pkgs/development/libraries/editline/default.nix +++ b/pkgs/development/libraries/editline/default.nix @@ -17,6 +17,12 @@ stdenv.mkDerivation rec { url = "https://github.com/troglobit/editline/commit/a4b67d226829a55bc8501f36708d5e104a52fbe4.patch"; sha256 = "0dbgdqxa4x9wgr9kx89ql74np4qq6fzdbph9j9c65ns3gnaanjkw"; }) + # PR24 + (fetchpatch { + name = "fix-narrow-term-crash.patch"; + url = https://github.com/troglobit/editline/pull/24/commits/8660aef4b795fbd46a86dca804f067a81757c5df.patch; + sha256 = "0pcz1f141qv78xbq09yh0zfcjiqyavr66snz1hvxzvi8x0vixc4i"; + }) ]; nativeBuildInputs = [ autoreconfHook ];