pkgsCross.mingwW64.gettext: fix build

We are unable to build bash so let’s drop it for now on MinGW
(partially reverting 7d0399279a there).
This will cause shebangs not to be patched.
This commit is contained in:
Jan Tojnar
2023-07-26 20:54:47 +03:00
committed by Artturin
parent 007173a9db
commit 7bc650ecca
@@ -54,9 +54,13 @@ stdenv.mkDerivation rec {
xz
xz.bin
];
buildInputs = [ bash ]
# HACK, see #10874 (and 14664)
++ lib.optionals (!stdenv.isLinux && !stdenv.hostPlatform.isCygwin) [ libiconv ];
buildInputs = lib.optionals (!stdenv.hostPlatform.isMinGW) [
bash
]
++ lib.optionals (!stdenv.isLinux && !stdenv.hostPlatform.isCygwin) [
# HACK, see #10874 (and 14664)
libiconv
];
setupHooks = [
../../../build-support/setup-hooks/role.bash