Skip to content

Commit

Permalink
Merge pull request #179925 from andrew-d/andrew/rio-skip-broken-test
Browse files Browse the repository at this point in the history
haskellPackages.rio: skip a broken test on aarch64-darwin
  • Loading branch information
cdepillabout authored Jul 4, 2022
2 parents 3e2f6a2 + 3f4d5f2 commit 2275bc9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion pkgs/development/haskell-modules/configuration-darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2275bc9

Please sign in to comment.