mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
polysemy-plugin: fix tests
- polysemy-plugin was broken due to failing doctests: https://github.com/NixOS/nixpkgs/issues/71164. - I submitted a PR upstream to fix this: https://github.com/polysemy-research/polysemy/pull/265. - I've applied the patch of the PR here and moved the default "polysemy" attribute to "polysemy_1_2_0_0" because polysemy-plugin requires "polysemy >= 1.2.0.0". - Move default "polysemy-zoo" attribute to "polysemy-zoo_0_6_0_1" because it is fixed by the polysemy-plugin changes and fixes issues with building "polysemy-RandomFu" and "knit-haskell". - Removed packages no longer broken from "configuration-hackage2nix.yaml". - Add cabal-doctest to setupDepends of polysemy-plugin.
This commit is contained in:
parent
e5b62bb387
commit
3d45947b7d
@ -1272,9 +1272,22 @@ self: super: {
|
||||
# upstream issue: https://github.com/vmchale/atspkg/issues/12
|
||||
language-ats = dontCheck super.language-ats;
|
||||
|
||||
# polysemy has occasional test failures from what looks like buggy async tests.
|
||||
# We think this will probably be fixed when updating to the polysemy version in LTS-15.
|
||||
polysemy = dontCheck super.polysemy;
|
||||
# polysemy-plugin requires polysemy >= 1.2.0.0
|
||||
polysemy = self.polysemy_1_2_2_0;
|
||||
|
||||
# The polysemy-plugin tests failed because it couldn't find
|
||||
# the polysemy-plugin package in the doctests:
|
||||
# https://github.com/NixOS/nixpkgs/issues/71164
|
||||
# I've addressed this with a PR upstream:
|
||||
# https://github.com/polysemy-research/polysemy/pull/265
|
||||
# the patch of which is applied here.
|
||||
polysemy-plugin = appendPatch (addSetupDepend super.polysemy-plugin self.cabal-doctest) (pkgs.fetchpatch {
|
||||
url = "https://github.com/polysemy-research/polysemy/pull/265.patch";
|
||||
sha256 = "19237js70chq84w7vqgvj49n6bs9lp95k13ia3xzbr1r9yyrfkhq";
|
||||
stripLen = 1;
|
||||
});
|
||||
|
||||
polysemy-zoo = self.polysemy-zoo_0_6_0_1;
|
||||
|
||||
# https://github.com/Happstack/web-routes-th/pull/3
|
||||
web-routes-th = doJailbreak super.web-routes-th;
|
||||
|
@ -3192,7 +3192,6 @@ broken-packages:
|
||||
- aws-sign4
|
||||
- aws-simple
|
||||
- aws-sns
|
||||
- axel
|
||||
- axiom
|
||||
- azubi
|
||||
- azure-service-api
|
||||
@ -6704,7 +6703,6 @@ broken-packages:
|
||||
- kmp-dfa
|
||||
- knead
|
||||
- knead-arithmetic
|
||||
- knit-haskell
|
||||
- knots
|
||||
- koellner-phonetic
|
||||
- kontra-config
|
||||
@ -8058,9 +8056,6 @@ broken-packages:
|
||||
- polydata
|
||||
- polydata-core
|
||||
- polynomial
|
||||
- polysemy-plugin
|
||||
- polysemy-RandomFu
|
||||
- polysemy-zoo
|
||||
- polyseq
|
||||
- polysoup
|
||||
- polytypeable
|
||||
|
Loading…
Reference in New Issue
Block a user