From a4ae7b86c9dd77d6a14ec2a7073abf7414a86bdf Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Fri, 20 May 2022 11:28:02 +0200 Subject: [PATCH] haskellPackages.fast-tags: apply patch for nondeterministic tests Resolves #172843. --- .../development/haskell-modules/configuration-common.nix | 9 +++++++++ .../configuration-hackage2nix/broken.yaml | 1 - pkgs/development/haskell-modules/hackage-packages.nix | 2 -- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index f80afc1c4de..349931a22c9 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2680,4 +2680,13 @@ self: super: { }) super.polynomial); + fast-tags = appendPatches [ + (fetchpatch { + name = "fast-tags-ghc-9.0-fix-test-nondeterminism.patch"; + url = "https://github.com/elaforge/fast-tags/commit/af861acc2dd239fedd8b169ddc5e3fa694e7af57.patch"; + sha256 = "0ml678q1n29daqnxsb5p94s5lf7a6dk4lqbbgmiayxrbyxnlbi4f"; + excludes = [ ".github/**" ]; + }) + ] super.fast-tags; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index 15002095d23..ba8efbcbae3 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -1403,7 +1403,6 @@ broken-packages: - fast-nats - fastpbkdf2 - FastPush - - fast-tags - FastxPipe - fathead-util - fb diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 49aa598dd9a..e48c1beb23e 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -93306,8 +93306,6 @@ self: { ]; description = "Fast incremental vi and emacs tags"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "fast-tagsoup" = callPackage