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 2022-12-30 23:34:50 +01:00 committed by Artturin
parent 007173a9db
commit 7bc650ecca

View file

@ -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