e2fsprogs: avoid outputChecks on darwin

And the problem is probably the same on other non-glibc platforms, too.
Hydra logs don't show these kind of errors, but here's a build:
https://hydra.nixos.org/build/306371286

/cc the PR that caused the issue: #431959

Changed files
+2 -1
pkgs
by-name
e2
e2fsprogs
+2 -1
pkgs/by-name/e2/e2fsprogs/package.nix
···
enableParallelBuilding = true;
-
outputChecks = {
+
# non-glibc gettext has issues with this
+
outputChecks = lib.optionalAttrs stdenv.hostPlatform.isGnu {
bin.disallowedRequisites = [
bash
bashNonInteractive