bash: apply static fix unconditionally

To ease maintenance.
This commit is contained in:
Alyssa Ross 2023-01-23 11:55:24 +00:00
parent b2840f4667
commit e049b85910

View file

@ -50,13 +50,14 @@ stdenv.mkDerivation rec {
patchFlags = [ "-p0" ];
patches = upstreamPatches
++ [ ./pgrp-pipe-5.patch ]
++ lib.optional stdenv.hostPlatform.isStatic (fetchurl {
patches = upstreamPatches ++ [
./pgrp-pipe-5.patch
(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")