diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 2dd3d00d943f..127bc08a03b2 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2622,4 +2622,11 @@ in { purescript-ast = purescriptStOverride super.purescript-ast; purenix = purescriptStOverride super.purenix; + + # Needs update for ghc-9: + # https://github.com/haskell/text-format/issues/27 + text-format = appendPatch (fetchpatch { + url = "https://github.com/hackage-trustees/text-format/pull/4/commits/949383aa053497b8c251219c10506136c29b4d32.patch"; + sha256 = "QzpZ7lDedsz1mZcq6DL4x7LBnn58rx70+ZVvPh9shRo="; + }) super.text-format; }) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index c45f2f7a6847..8f12c8051ac0 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -5033,7 +5033,6 @@ broken-packages: - text-ascii - text-builder-linear - text-containers - - text-format - text-format-heavy - text-generic-pretty - text-icu-normalized diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 04a623b9e1ee..7fbce0aeaeba 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -279447,8 +279447,6 @@ self: { ]; description = "Text formatting"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "text-format-heavy" = callPackage diff --git a/pkgs/development/tools/build-managers/bmake/default.nix b/pkgs/development/tools/build-managers/bmake/default.nix index 5afbf979700f..e7c38c1b0234 100644 --- a/pkgs/development/tools/build-managers/bmake/default.nix +++ b/pkgs/development/tools/build-managers/bmake/default.nix @@ -8,13 +8,13 @@ , pkgsMusl # for passthru.tests }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "bmake"; - version = "20220208"; + version = "20220726"; src = fetchurl { - url = "http://www.crufty.net/ftp/pub/sjg/${pname}-${version}.tar.gz"; - hash = "sha256-ewDB4UYrLh5Upk2ND88n/HfursPxOSDv+NlST/BZ1to="; + url = "http://www.crufty.net/ftp/pub/sjg/${finalAttrs.pname}-${finalAttrs.version}.tar.gz"; + hash = "sha256-G/N3B4lyJyHcp7C/+K/EqVINog8CGbt7xSNQrwEz8KA="; }; # Make tests work with musl @@ -60,10 +60,15 @@ stdenv.mkDerivation rec { ]; # Disabled tests: + # opt-chdir: ofborg complains about it somehow + # opt-keep-going-indirect: not yet known # varmod-localtime: musl doesn't support TZDIR and this test relies on impure, # implicit paths - # opt-chdir: ofborg complains about it somehow - BROKEN_TESTS = "varmod-localtime opt-chdir"; + BROKEN_TESTS = builtins.concatStringsSep " " [ + "opt-chdir" + "opt-keep-going-indirect" + "varmod-localtime" + ]; buildPhase = '' runHook preBuild @@ -105,9 +110,8 @@ stdenv.mkDerivation rec { license = licenses.bsd3; maintainers = with maintainers; [ thoughtpolice AndersonTorres ]; platforms = platforms.unix; - broken = with stdenv; isAarch64 && !isDarwin; # ofborg complains }; passthru.tests.bmakeMusl = pkgsMusl.bmake; -} +}) # TODO: report the quirks and patches to bmake devteam (especially the Musl one)