From 090b1804b7b3f63a31e8a8d8225d56aaa06eb3fd Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Thu, 7 Jan 2021 20:52:10 +0000 Subject: [PATCH] bash_5: upgrade readline dependency to 8.1 Readline 8.1 is required for bash-5.1 to work properly. From bash-5.1 release message[1]: > Bash can be linked against an already-installed Readline library > rather than the private version in lib/readline if desired. Only > readline-8.1 and later versions are able to provide all of the symbols > that bash-5.1 requires; earlier versions of the Readline library will > not work correctly. [1] https://lists.gnu.org/archive/html/info-gnu/2020-12/msg00003.html --- pkgs/shells/bash/5.1.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/shells/bash/5.1.nix b/pkgs/shells/bash/5.1.nix index d234b18e6c9..ddf2edfd1db 100644 --- a/pkgs/shells/bash/5.1.nix +++ b/pkgs/shells/bash/5.1.nix @@ -7,14 +7,14 @@ # patch for cygwin requires readline support , interactive ? stdenv.isCygwin -, readline80 ? null +, readline81 ? null , withDocs ? false , texinfo ? null }: with lib; -assert interactive -> readline80 != null; +assert interactive -> readline81 != null; assert withDocs -> texinfo != null; assert stdenv.hostPlatform.isDarwin -> binutils != null; let @@ -74,7 +74,7 @@ stdenv.mkDerivation rec { ++ optional withDocs texinfo ++ optional stdenv.hostPlatform.isDarwin binutils; - buildInputs = optional interactive readline80; + buildInputs = optional interactive readline81; enableParallelBuilding = true;