haskell-text-icu: remedy a fatal absence of truth in the build

This commit is contained in:
Peter Simons 2021-02-26 21:48:21 +01:00
parent 09dd4a7ea0
commit 64187ae13f

View File

@ -843,8 +843,11 @@ self: super: {
# https://github.com/alphaHeavy/protobuf/issues/34
protobuf = dontCheck super.protobuf;
# https://github.com/bos/text-icu/issues/32
text-icu = dontCheck super.text-icu;
# Is this package still maintained? https://github.com/haskell/text-icu/issues/30
text-icu = overrideCabal super.text-icu (drv: {
doCheck = false; # https://github.com/bos/text-icu/issues/32
configureFlags = ["--ghc-option=-DU_DEFINE_FALSE_AND_TRUE=1"]; # https://github.com/haskell/text-icu/issues/49
});
# aarch64 and armv7l fixes.
happy = if (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) then dontCheck super.happy else super.happy; # Similar to https://ghc.haskell.org/trac/ghc/ticket/13062