diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index d40643114e47..fd632ee81f82 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -281,7 +281,16 @@ self: super: ({ # https://github.com/fpco/unliftio/issues/87 unliftio = dontCheck super.unliftio; - + # This is the same issue as above; the rio tests call functions in unliftio + # that have issues as tracked in the GitHub issue above. Once the unliftio + # tests are fixed, we can remove this as well. + # + # We skip just the problematic tests by replacing 'it' with 'xit'. + rio = overrideCabal (drv: { + preConfigure = '' + sed -i 's/\bit /xit /g' test/RIO/FileSpec.hs + ''; + }) super.rio; # https://github.com/haskell-crypto/cryptonite/issues/360 cryptonite = appendPatch ./patches/cryptonite-remove-argon2.patch super.cryptonite;