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

wip/yesman
Peter Simons 3 years ago
parent 09dd4a7ea0
commit 64187ae13f
  1. 7
      pkgs/development/haskell-modules/configuration-common.nix

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

Loading…
Cancel
Save