Merge pull request #333379 from rvl/haskell-updates-doctest

haskellPackages.doctest: Skip failing cabal-doctest tests
This commit is contained in:
Dennis Gosnell 2024-08-13 09:00:37 +09:00 committed by GitHub
commit 3c76b89c05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 20 additions and 41 deletions

View File

@ -169,7 +169,7 @@ self: super: {
};
# 2024-07-09: rhine 1.4.* needs newer monad-schedule than stackage (and is only consumer)
monad-schedule = assert super.monad-schedule.version == "0.1.2.2"; doDistribute self.monad-schedule_0_2;
monad-schedule = assert super.monad-schedule.version == "0.1.2.2"; doDistribute self.monad-schedule_0_2_0_1;
aeson =
# aeson's test suite includes some tests with big numbers that fail on 32bit
@ -2860,27 +2860,6 @@ self: super: {
# https://github.com/brandonchinn178/tasty-autocollect/issues/54
tasty-autocollect = dontCheck super.tasty-autocollect;
# https://github.com/UnkindPartition/tasty/pull/420#issuecomment-2187406691
# Note also 1.5.1 was faux-revoked because of this. See
# https://github.com/UnkindPartition/tasty/issues/426
tasty_1_5_1 = lib.pipe super.tasty_1_5_1 [
(appendPatch
(fetchpatch2 {
name = "tasty-1.5.1-revert-cr-sufficient-to-clear-line";
url = "https://github.com/UnkindPartition/tasty/commit/b152a0bc63166a4592e1f3639ef09e78a43f2b57.diff";
hash = "sha256-tlFCyEnIp8geNlJSkye32tUOaPMwkdqLHBMzpAwSDVQ=";
revert = true;
stripLen = 1;
})
)
(overrideCabal
(drv: assert drv.revision == "1"; {
revision = null;
editedCabalFile = null;
})
)
];
postgrest = lib.pipe super.postgrest [
# 2023-12-20: New version needs extra dependencies
(addBuildDepends [ self.extra self.fuzzyset_0_2_4 self.cache self.timeit ])
@ -3085,7 +3064,7 @@ self: super: {
cornelis = dontCheck super.cornelis;
lzma = doJailbreak (super.lzma.overrideScope (self: super: {
tasty = super.tasty_1_5_1;
tasty = super.tasty_1_5;
}));
# Fixes build on some platforms: https://github.com/obsidiansystems/commutative-semigroups/pull/18

View File

@ -627,7 +627,6 @@ dont-distribute-packages:
- beam-automigrate
- beam-postgres
- beam-th
- bearriver
- beautifHOL
- bech32-th
- bein
@ -804,7 +803,7 @@ dont-distribute-packages:
- chart-cli
- chart-svg
- chart-svg-various
- chart-svg_0_6_0_0
- chart-svg_0_6_1_0
- chart-unit
- chassis
- chatty
@ -826,6 +825,7 @@ dont-distribute-packages:
- chu2
- chuchu
- chunks
- circuit-notation
- citation-resolve
- citeproc-hs-pandoc-filter
- clac
@ -1207,7 +1207,6 @@ dont-distribute-packages:
- dsh-sql
- dsmc-tools
- dtd
- dunai-test
- dvda
- dynamic-cabal
- dynamic-pipeline
@ -1348,7 +1347,6 @@ dont-distribute-packages:
- feature-flipper-postgres
- fedora-composes
- fedora-img-dl
- fedora-repoquery
- feed-gipeda
- feed-translator
- feed2lj
@ -1972,7 +1970,7 @@ dont-distribute-packages:
- hasloGUI
- hasmtlib
- hasql-cursor-query
- hasql-interpolate_1_0_0_0
- hasql-interpolate_1_0_1_0
- hasql-postgres
- hasql-postgres-options
- hasql-queue
@ -2024,8 +2022,6 @@ dont-distribute-packages:
- hedgehog-checkers-lens
- hedgehog-gen-json
- hedis-pile
- heftia
- heftia-effects
- heist-aeson
- helic
- helics
@ -2463,6 +2459,7 @@ dont-distribute-packages:
- knit-haskell
- koji-install
- koji-tool
- koji-tool_1_2
- korfu
- ks-test
- kubernetes-client
@ -2911,7 +2908,7 @@ dont-distribute-packages:
- nonlinear-optimization-backprop
- not-gloss
- not-gloss-examples
- nothunks_0_2_1_0
- nothunks_0_2_1_1
- notmuch-web
- now-haskell
- nri-env-parser

View File

@ -1408,4 +1408,13 @@ self: super: builtins.intersectAttrs super {
kmonad = enableSeparateBinOutput super.kmonad;
xmobar = enableSeparateBinOutput super.xmobar;
# 2024-08-09: Disable some cabal-doctest tests pending further investigation.
doctest = overrideCabal (drv: {
testFlags = drv.testFlags or [] ++ [
# These tests require cabal-install
"--skip=/Cabal.Options"
"--skip=/Cabal.Paths/paths"
];
}) super.doctest;
}

View File

@ -47781,7 +47781,6 @@ self: {
];
description = "FRP Yampa replacement implemented with Monadic Stream Functions";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"beautifHOL" = callPackage
@ -61643,7 +61642,7 @@ self: {
description = "mid-level bindings to CasADi";
license = lib.licenses.lgpl3Only;
hydraPlatforms = lib.platforms.none;
}) {casadi = null;};
}) {inherit (pkgs) casadi;};
"casadi-bindings-control" = callPackage
({ mkDerivation, base, casadi-bindings-core
@ -61677,7 +61676,7 @@ self: {
description = "autogenerated low level bindings to casadi";
license = lib.licenses.lgpl3Only;
hydraPlatforms = lib.platforms.none;
}) {casadi = null;};
}) {inherit (pkgs) casadi;};
"casadi-bindings-internal" = callPackage
({ mkDerivation, base, casadi, containers, vector }:
@ -61691,7 +61690,7 @@ self: {
license = lib.licenses.lgpl3Only;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {casadi = null;};
}) {inherit (pkgs) casadi;};
"casadi-bindings-ipopt-interface" = callPackage
({ mkDerivation, base, casadi-bindings-core
@ -65794,6 +65793,7 @@ self: {
testHaskellDepends = [ base clash-prelude ];
description = "A source plugin for manipulating circuits in clash with a arrow notation";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"circular" = callPackage
@ -95558,9 +95558,7 @@ self: {
benchmarkHaskellDepends = [ base criterion filepath time ];
description = "Generalised reactive framework supporting classic, arrowized and monadic FRP";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
maintainers = [ lib.maintainers.turion ];
broken = true;
}) {};
"dunai-core" = callPackage
@ -95590,7 +95588,6 @@ self: {
];
description = "Testing library for Dunai";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"dupIO" = callPackage
@ -107060,7 +107057,6 @@ self: {
testHaskellDepends = [ base simple-cmd ];
description = "Fedora release repos package query tool";
license = lib.licenses.gpl3Only;
hydraPlatforms = lib.platforms.none;
mainProgram = "fedora-repoquery";
}) {};
@ -147549,7 +147545,6 @@ self: {
testToolDepends = [ tasty-discover ];
description = "higher-order effects done right";
license = lib.licenses.mpl20;
hydraPlatforms = lib.platforms.none;
}) {};
"heftia-effects" = callPackage
@ -147577,7 +147572,6 @@ self: {
testToolDepends = [ tasty-discover ];
description = "higher-order effects done right";
license = lib.licenses.mpl20;
hydraPlatforms = lib.platforms.none;
}) {};
"hegg" = callPackage