bash: apply static fix unconditionally
To ease maintenance.
This commit is contained in:
parent
b2840f4667
commit
e049b85910
1 changed files with 5 additions and 4 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue