pkgsStatic.bash: fix build

Link: https://lists.gnu.org/archive/html/bug-bash/2022-10/msg00000.html
This commit is contained in:
Alyssa Ross 2023-01-13 04:02:35 +00:00
parent b6427439de
commit be0d0f2905

View file

@ -51,7 +51,12 @@ stdenv.mkDerivation rec {
patchFlags = [ "-p0" ];
patches = upstreamPatches
++ [ ./pgrp-pipe-5.patch ];
++ [ ./pgrp-pipe-5.patch ]
++ lib.optional stdenv.hostPlatform.isStatic (fetchurl {
name = "fix-static.patch";
url = "https://cgit.freebsd.org/ports/plain/shells/bash/files/patch-configure?id=3e147a1f594751a68fea00a28090d0792bee0b51";
sha256 = "XHFMQ6eXTReNoywdETyrfQEv1rKF8+XFbQZP4YoVKFk=";
});
configureFlags = [
(if interactive then "--with-installed-readline" else "--disable-readline")