haskell package set configuration clean-up

Closes https://github.com/NixOS/nixpkgs/pull/33588.
This commit is contained in:
Matthew Pickering 2017-10-16 11:08:10 +00:00 committed by Peter Simons
parent f1a96c50e9
commit 5542e3cc4d
3 changed files with 29 additions and 143 deletions

View File

@ -49,7 +49,8 @@ self: super: {
Dust-crypto = dontCheck super.Dust-crypto; Dust-crypto = dontCheck super.Dust-crypto;
hasql-postgres = dontCheck super.hasql-postgres; hasql-postgres = dontCheck super.hasql-postgres;
hspec = super.hspec.override { stringbuilder = dontCheck self.stringbuilder; }; hspec = super.hspec.override { stringbuilder = dontCheck self.stringbuilder; };
hspec-core = super.hspec-core.override { silently = dontCheck super.silently; temporary = dontCheck super.temporary; }; hspec-core = super.hspec-core.override { silently = dontCheck self.silently; temporary = dontCheck self.temporary; };
hspec-expectations = dontCheck super.hspec-expectations; hspec-expectations = dontCheck super.hspec-expectations;
HTTP = dontCheck super.HTTP; HTTP = dontCheck super.HTTP;
http-streams = dontCheck super.http-streams; http-streams = dontCheck super.http-streams;
@ -58,13 +59,6 @@ self: super: {
statistics = dontCheck super.statistics; statistics = dontCheck super.statistics;
vector-builder = dontCheck super.vector-builder; vector-builder = dontCheck super.vector-builder;
# https://github.com/gilith/hol/pull/1
hol = appendPatch (doJailbreak super.hol) (pkgs.fetchpatch {
name = "hol.patch";
url = "https://github.com/gilith/hol/commit/a5171bdcacdbe93c46c9f82ec5a38f2a2b69e632.patch";
sha256 = "0xkgbhc4in38hspxgz2wcvk56pjalw43gig7lzkjfhgavwxv3jyj";
});
# This test keeps being aborted because it runs too quietly for too long # This test keeps being aborted because it runs too quietly for too long
Lazy-Pbkdf2 = if pkgs.stdenv.isi686 then dontCheck super.Lazy-Pbkdf2 else super.Lazy-Pbkdf2; Lazy-Pbkdf2 = if pkgs.stdenv.isi686 then dontCheck super.Lazy-Pbkdf2 else super.Lazy-Pbkdf2;
@ -106,15 +100,9 @@ self: super: {
# https://github.com/froozen/kademlia/issues/2 # https://github.com/froozen/kademlia/issues/2
kademlia = dontCheck super.kademlia; kademlia = dontCheck super.kademlia;
# https://github.com/haskell-works/hw-xml/issues/23 # Test suite doesn't terminate
# Disable building the hw-xml-example executable:
hw-xml = (overrideCabal super.hw-xml (drv: {
postPatch = "sed -i 's/ hs-source-dirs: app/" +
" hs-source-dirs: app\\n" +
" buildable: false/' hw-xml.cabal";
}));
hzk = dontCheck super.hzk; hzk = dontCheck super.hzk;
# Tests require a Kafka broker running locally
haskakafka = dontCheck super.haskakafka; haskakafka = dontCheck super.haskakafka;
# Depends on broken "lss" package. # Depends on broken "lss" package.
@ -144,37 +132,11 @@ self: super: {
}); });
# The Haddock phase fails for one reason or another. # The Haddock phase fails for one reason or another.
acme-one = dontHaddock super.acme-one;
attoparsec-conduit = dontHaddock super.attoparsec-conduit;
base-noprelude = dontHaddock super.base-noprelude;
blaze-builder-conduit = dontHaddock super.blaze-builder-conduit;
BNFC-meta = dontHaddock super.BNFC-meta;
bytestring-progress = dontHaddock super.bytestring-progress; bytestring-progress = dontHaddock super.bytestring-progress;
comonads-fd = dontHaddock super.comonads-fd;
comonad-transformers = dontHaddock super.comonad-transformers;
deepseq-magic = dontHaddock super.deepseq-magic; deepseq-magic = dontHaddock super.deepseq-magic;
diagrams = dontHaddock super.diagrams;
either = dontHaddock super.either;
feldspar-signal = dontHaddock super.feldspar-signal; # https://github.com/markus-git/feldspar-signal/issues/1 feldspar-signal = dontHaddock super.feldspar-signal; # https://github.com/markus-git/feldspar-signal/issues/1
gl = doJailbreak (dontHaddock super.gl); # jailbreak fixed in unreleased (2017-03-01) https://github.com/ekmett/gl/commit/885e08a96aa53d80c3b62e157b20d2f05e34f133
groupoids = dontHaddock super.groupoids;
hamlet = dontHaddock super.hamlet;
HaXml = dontHaddock super.HaXml;
hoodle-core = dontHaddock super.hoodle-core; hoodle-core = dontHaddock super.hoodle-core;
hsc3-db = dontHaddock super.hsc3-db; hsc3-db = dontHaddock super.hsc3-db;
http-client-conduit = dontHaddock super.http-client-conduit;
http-client-multipart = dontHaddock super.http-client-multipart;
markdown-unlit = dontHaddock super.markdown-unlit;
network-conduit = dontHaddock super.network-conduit;
shakespeare-js = dontHaddock super.shakespeare-js;
shakespeare-text = dontHaddock super.shakespeare-text;
swagger = dontHaddock super.swagger; # http://hydra.cryp.to/build/2035868/nixlog/1/raw
swagger2 = dontHaddock super.swagger2;
wai-test = dontHaddock super.wai-test;
zlib-conduit = dontHaddock super.zlib-conduit;
# https://github.com/massysett/rainbox/issues/1
rainbox = dontCheck super.rainbox;
# https://github.com/techtangents/ablist/issues/1 # https://github.com/techtangents/ablist/issues/1
ABList = dontCheck super.ABList; ABList = dontCheck super.ABList;
@ -211,9 +173,6 @@ self: super: {
inline-java = addBuildDepend super.inline-java pkgs.jdk; inline-java = addBuildDepend super.inline-java pkgs.jdk;
# tests don't compile for some odd reason
jwt = dontCheck super.jwt;
# https://github.com/mvoidex/hsdev/issues/11 # https://github.com/mvoidex/hsdev/issues/11
hsdev = dontHaddock super.hsdev; hsdev = dontHaddock super.hsdev;
@ -258,8 +217,9 @@ self: super: {
HerbiePlugin = dontCheck super.HerbiePlugin; HerbiePlugin = dontCheck super.HerbiePlugin;
wai-cors = dontCheck super.wai-cors; wai-cors = dontCheck super.wai-cors;
# https://github.com/NICTA/digit/issues/3 # base bound
digit = dontCheck super.digit; digit = doJailbreak super.digit;
# Fails for non-obvious reasons while attempting to use doctest. # Fails for non-obvious reasons while attempting to use doctest.
search = dontCheck super.search; search = dontCheck super.search;
@ -476,15 +436,9 @@ self: super: {
apiary-session = dontCheck super.apiary-session; apiary-session = dontCheck super.apiary-session;
apiary-websockets = dontCheck super.apiary-websockets; apiary-websockets = dontCheck super.apiary-websockets;
# HsColour: Language/Unlambda.hs: hGetContents: invalid argument (invalid byte sequence)
unlambda = dontHyperlinkSource super.unlambda;
# https://github.com/PaulJohnson/geodetics/issues/1 # https://github.com/PaulJohnson/geodetics/issues/1
geodetics = dontCheck super.geodetics; geodetics = dontCheck super.geodetics;
# https://github.com/AndrewRademacher/aeson-casing/issues/1
aeson-casing = dontCheck super.aeson-casing;
# https://github.com/junjihashimoto/test-sandbox-compose/issues/2 # https://github.com/junjihashimoto/test-sandbox-compose/issues/2
test-sandbox-compose = dontCheck super.test-sandbox-compose; test-sandbox-compose = dontCheck super.test-sandbox-compose;
@ -494,9 +448,6 @@ self: super: {
# https://github.com/afcowie/locators/issues/1 # https://github.com/afcowie/locators/issues/1
locators = dontCheck super.locators; locators = dontCheck super.locators;
# https://github.com/anton-k/csound-expression-dynamic/issues/1
csound-expression-dynamic = dontHaddock super.csound-expression-dynamic;
# Test suite won't compile against tasty-hunit 0.9.x. # Test suite won't compile against tasty-hunit 0.9.x.
zlib = dontCheck super.zlib; zlib = dontCheck super.zlib;
@ -511,8 +462,8 @@ self: super: {
doctest-discover = addBuildTool super.doctest-discover (dontCheck super.doctest-discover); doctest-discover = addBuildTool super.doctest-discover (dontCheck super.doctest-discover);
tasty-discover = addBuildTool super.tasty-discover (dontCheck super.tasty-discover); tasty-discover = addBuildTool super.tasty-discover (dontCheck super.tasty-discover);
# https://github.com/bos/aeson/issues/253 # generic-deriving bound is too tight
aeson = dontCheck super.aeson; aeson = doJailbreak super.aeson;
# Won't compile with recent versions of QuickCheck. # Won't compile with recent versions of QuickCheck.
inilist = dontCheck super.inilist; inilist = dontCheck super.inilist;
@ -536,7 +487,7 @@ self: super: {
# FPCO's fork of Cabal won't succeed its test suite. # FPCO's fork of Cabal won't succeed its test suite.
Cabal-ide-backend = dontCheck super.Cabal-ide-backend; Cabal-ide-backend = dontCheck super.Cabal-ide-backend;
# https://github.com/jaspervdj/websockets/issues/104 # QuickCheck version, also set in cabal2nix
websockets = dontCheck super.websockets; websockets = dontCheck super.websockets;
# Avoid spurious test suite failures. # Avoid spurious test suite failures.
@ -565,8 +516,8 @@ self: super: {
# https://github.com/kazu-yamamoto/logger/issues/42 # https://github.com/kazu-yamamoto/logger/issues/42
logger = dontCheck super.logger; logger = dontCheck super.logger;
# https://github.com/qnikst/imagemagick/issues/34 # vector dependency < 0.12
imagemagick = dontCheck super.imagemagick; imagemagick = doJailbreak super.imagemagick;
# https://github.com/liyang/thyme/issues/36 # https://github.com/liyang/thyme/issues/36
thyme = dontCheck super.thyme; thyme = dontCheck super.thyme;
@ -589,9 +540,6 @@ self: super: {
# https://github.com/athanclark/sets/issues/2 # https://github.com/athanclark/sets/issues/2
sets = dontCheck super.sets; sets = dontCheck super.sets;
# https://github.com/lens/lens-aeson/issues/18
lens-aeson = dontCheck super.lens-aeson;
# Install icons and metadata, remove broken hgettext dependency. # Install icons and metadata, remove broken hgettext dependency.
# https://github.com/vasylp/hgettext/issues/10 # https://github.com/vasylp/hgettext/issues/10
bustle = overrideCabal super.bustle (drv: { bustle = overrideCabal super.bustle (drv: {
@ -669,28 +617,18 @@ self: super: {
# https://github.com/pxqr/base32-bytestring/issues/4 # https://github.com/pxqr/base32-bytestring/issues/4
base32-bytestring = dontCheck super.base32-bytestring; base32-bytestring = dontCheck super.base32-bytestring;
# https://github.com/JohnLato/listlike/pull/6#issuecomment-137986095
ListLike = dontCheck super.ListLike;
# https://github.com/goldfirere/singletons/issues/122 # https://github.com/goldfirere/singletons/issues/122
singletons = dontCheck super.singletons; singletons = dontCheck super.singletons;
# https://github.com/guillaume-nargeot/hpc-coveralls/issues/52
hpc-coveralls = disableSharedExecutables super.hpc-coveralls;
# https://github.com/fpco/stackage/issues/838 # https://github.com/fpco/stackage/issues/838
cryptonite = dontCheck super.cryptonite; cryptonite = dontCheck super.cryptonite;
# We cannot build this package w/o the C library from <http://www.phash.org/>. # We cannot build this package w/o the C library from <http://www.phash.org/>.
phash = markBroken super.phash; phash = markBroken super.phash;
# https://github.com/sol/hpack/issues/53
hpack = dontCheck super.hpack;
# https://github.com/deech/fltkhs/issues/16 # https://github.com/deech/fltkhs/issues/16
fltkhs = overrideCabal super.fltkhs (drv: { # linking fails because the build doesn't pull in the mesa libraries
broken = true; # linking fails because the build doesn't pull in the mesa libraries fltkhs = markBroken super.fltkhs;
});
fltkhs-fluid-examples = dontDistribute super.fltkhs-fluid-examples; fltkhs-fluid-examples = dontDistribute super.fltkhs-fluid-examples;
# We get lots of strange compiler errors during the test suite run. # We get lots of strange compiler errors during the test suite run.
@ -767,6 +705,7 @@ self: super: {
applicative-quoters = doJailbreak super.applicative-quoters; applicative-quoters = doJailbreak super.applicative-quoters;
# https://github.com/roelvandijk/terminal-progress-bar/issues/13 # https://github.com/roelvandijk/terminal-progress-bar/issues/13
# Still needed because of HUnit < 1.6
terminal-progress-bar = doJailbreak super.terminal-progress-bar; terminal-progress-bar = doJailbreak super.terminal-progress-bar;
# https://hydra.nixos.org/build/42769611/nixlog/1/raw # https://hydra.nixos.org/build/42769611/nixlog/1/raw
@ -792,6 +731,7 @@ self: super: {
hspec-expectations-pretty-diff = dontCheck super.hspec-expectations-pretty-diff; hspec-expectations-pretty-diff = dontCheck super.hspec-expectations-pretty-diff;
# https://github.com/basvandijk/lifted-base/issues/34 # https://github.com/basvandijk/lifted-base/issues/34
# Still needed as HUnit < 1.5
lifted-base = doJailbreak super.lifted-base; lifted-base = doJailbreak super.lifted-base;
# https://github.com/aslatter/parsec/issues/68 # https://github.com/aslatter/parsec/issues/68
@ -802,57 +742,23 @@ self: super: {
system-filepath = dontCheck super.system-filepath; system-filepath = dontCheck super.system-filepath;
# https://github.com/basvandijk/case-insensitive/issues/24 # https://github.com/basvandijk/case-insensitive/issues/24
# Still needed as HUnit < 1.6
case-insensitive = doJailbreak super.case-insensitive; case-insensitive = doJailbreak super.case-insensitive;
# https://github.com/hvr/uuid/issues/28 # https://github.com/hvr/uuid/issues/28
uuid-types = doJailbreak super.uuid-types; uuid-types = doJailbreak super.uuid-types;
uuid = doJailbreak super.uuid; uuid = doJailbreak super.uuid;
# https://github.com/hspec/hspec/issues/307
hspec-contrib = dontCheck super.hspec-contrib;
# https://github.com/ekmett/lens/issues/713 # https://github.com/ekmett/lens/issues/713
lens = disableCabalFlag super.lens "test-doctests"; lens = disableCabalFlag super.lens "test-doctests";
# https://github.com/haskell/fgl/issues/60 # https://github.com/haskell/fgl/issues/60
# Needed for QuickCheck < 2.10
fgl = doJailbreak super.fgl; fgl = doJailbreak super.fgl;
fgl-arbitrary = doJailbreak super.fgl-arbitrary; fgl-arbitrary = doJailbreak super.fgl-arbitrary;
# https://github.com/Gabriel439/Haskell-DirStream-Library/issues/8 # The tests spuriously fail
dirstream = doJailbreak super.dirstream; libmpd = dontCheck super.libmpd;
# https://github.com/xmonad/xmonad-extras/issues/3
xmonad-extras = doJailbreak super.xmonad-extras;
# https://github.com/int-e/QuickCheck-safe/issues/2
QuickCheck-safe = doJailbreak super.QuickCheck-safe;
# https://github.com/mokus0/dependent-sum-template/issues/7
dependent-sum-template = doJailbreak super.dependent-sum-template;
# https://github.com/jcristovao/newtype-generics/issues/13
newtype-generics = doJailbreak super.newtype-generics;
# https://github.com/lambdabot/lambdabot/issues/158
lambdabot-core = doJailbreak super.lambdabot-core;
# https://github.com/lambdabot/lambdabot/issues/159
lambdabot = doJailbreak super.lambdabot;
# https://github.com/jswebtools/language-ecmascript/pull/81
language-ecmascript = doJailbreak super.language-ecmascript;
# https://github.com/choener/DPutils/pull/1
DPutils = doJailbreak super.DPutils;
# fixed in unreleased (2017-03-01) https://github.com/ekmett/machines/commit/5463cf5a69194faaec2345dff36469b4b7a8aef0
machines = doJailbreak super.machines;
# fixed in unreleased (2017-03-01) https://github.com/choener/OrderedBits/commit/7b9c6c6c61d9acd0be8b38939915d287df3c53ab
OrderedBits = doJailbreak super.OrderedBits;
# https://github.com/haskell-distributed/rank1dynamic/issues/17
rank1dynamic = doJailbreak super.rank1dynamic;
# https://github.com/dan-t/cabal-lenses/issues/6 # https://github.com/dan-t/cabal-lenses/issues/6
cabal-lenses = doJailbreak super.cabal-lenses; cabal-lenses = doJailbreak super.cabal-lenses;
@ -869,10 +775,6 @@ self: super: {
# https://github.com/danidiaz/streaming-eversion/issues/1 # https://github.com/danidiaz/streaming-eversion/issues/1
streaming-eversion = dontCheck super.streaming-eversion; streaming-eversion = dontCheck super.streaming-eversion;
# strict-io is too cautious with it's deepseq dependency
# strict-io doesn't have a working bug tracker, the author has been emailed however.
strict-io = doJailbreak super.strict-io;
# https://github.com/danidiaz/tailfile-hinotify/issues/2 # https://github.com/danidiaz/tailfile-hinotify/issues/2
tailfile-hinotify = dontCheck super.tailfile-hinotify; tailfile-hinotify = dontCheck super.tailfile-hinotify;
@ -889,17 +791,12 @@ self: super: {
# https://github.com/diagrams/diagrams-solve/issues/4 # https://github.com/diagrams/diagrams-solve/issues/4
diagrams-solve = dontCheck super.diagrams-solve; diagrams-solve = dontCheck super.diagrams-solve;
# version 1.3.1.2 does not compile: syb >=0.1.0.2 && <0.7
ChasingBottoms = doJailbreak super.ChasingBottoms;
# test suite does not compile with recent versions of QuickCheck # test suite does not compile with recent versions of QuickCheck
integer-logarithms = dontCheck (super.integer-logarithms); integer-logarithms = dontCheck (super.integer-logarithms);
# https://github.com/vincenthz/hs-tls/issues/247
tls = dontCheck super.tls;
# missing dependencies: blaze-html >=0.5 && <0.9, blaze-markup >=0.5 && <0.8 # missing dependencies: blaze-html >=0.5 && <0.9, blaze-markup >=0.5 && <0.8
digestive-functors-blaze = doJailbreak super.digestive-functors-blaze; digestive-functors-blaze = doJailbreak super.digestive-functors-blaze;
digestive-functors = doJailbreak super.digestive-functors;
# missing dependencies: doctest ==0.12.* # missing dependencies: doctest ==0.12.*
html-entities = doJailbreak super.html-entities; html-entities = doJailbreak super.html-entities;
@ -910,10 +807,7 @@ self: super: {
# cryptol-2.5.0 doesn't want happy 1.19.6+. # cryptol-2.5.0 doesn't want happy 1.19.6+.
cryptol = super.cryptol.override { happy = self.happy_1_19_5; }; cryptol = super.cryptol.override { happy = self.happy_1_19_5; };
# https://github.com/jtdaugherty/text-zipper/issues/11 # Tests try to invoke external process and process == 1.4
text-zipper = dontCheck super.text-zipper;
# https://github.com/graknlabs/grakn-haskell/pull/1
grakn = dontCheck (doJailbreak super.grakn); grakn = dontCheck (doJailbreak super.grakn);
# test suite requires git and does a bunch of git operations # test suite requires git and does a bunch of git operations
@ -986,6 +880,9 @@ self: super: {
genvalidity-property = doJailbreak super.genvalidity-property; genvalidity-property = doJailbreak super.genvalidity-property;
path = dontCheck super.path; path = dontCheck super.path;
# Test suite fails due to trying to create directories
path-io = dontCheck super.path-io;
# Duplicate instance with smallcheck. # Duplicate instance with smallcheck.
store = dontCheck super.store; store = dontCheck super.store;
@ -1031,4 +928,8 @@ self: super: {
# armv7l fixes. # armv7l fixes.
happy = if pkgs.stdenv.isArm then dontCheck super.happy else super.happy; # Similar to https://ghc.haskell.org/trac/ghc/ticket/13062 happy = if pkgs.stdenv.isArm then dontCheck super.happy else super.happy; # Similar to https://ghc.haskell.org/trac/ghc/ticket/13062
# Tries to read a file it is not allowed to in the test suite
load-env = dontCheck super.load-env;
} }

View File

@ -56,21 +56,10 @@ self: super: {
# http://hub.darcs.net/dolio/vector-algorithms/issue/9#comment-20170112T145715 # http://hub.darcs.net/dolio/vector-algorithms/issue/9#comment-20170112T145715
vector-algorithms = dontCheck super.vector-algorithms; vector-algorithms = dontCheck super.vector-algorithms;
# https://github.com/thoughtbot/yesod-auth-oauth2/pull/77
yesod-auth-oauth2 = doJailbreak super.yesod-auth-oauth2;
# https://github.com/nominolo/ghc-syb/issues/20 # https://github.com/nominolo/ghc-syb/issues/20
ghc-syb-utils = dontCheck super.ghc-syb-utils; ghc-syb-utils = dontCheck super.ghc-syb-utils;
# Work around overly restrictive constraints on the version of 'base'.
ChasingBottoms = doJailbreak super.ChasingBottoms;
hashable = doJailbreak super.hashable;
protolude = doJailbreak super.protolude;
quickcheck-instances = doJailbreak super.quickcheck-instances;
# https://github.com/aristidb/aws/issues/238
aws = doJailbreak super.aws;
# Upstream failed to distribute the testsuite for 8.2 # Upstream failed to distribute the testsuite for 8.2
# https://github.com/alanz/ghc-exactprint/pull/60 # https://github.com/alanz/ghc-exactprint/pull/60
ghc-exactprint = dontCheck super.ghc-exactprint; ghc-exactprint = dontCheck super.ghc-exactprint;

View File

@ -47,10 +47,6 @@ self: super: {
# We have time 1.5 # We have time 1.5
aeson = disableCabalFlag super.aeson "old-locale"; aeson = disableCabalFlag super.aeson "old-locale";
# Show works differently for record syntax now, breaking haskell-src-exts' parser tests
# https://github.com/haskell-suite/haskell-src-exts/issues/224
haskell-src-exts = dontCheck super.haskell-src-exts;
# Setup: At least the following dependencies are missing: base <4.8 # Setup: At least the following dependencies are missing: base <4.8
hspec-expectations = overrideCabal super.hspec-expectations (drv: { hspec-expectations = overrideCabal super.hspec-expectations (drv: {
postPatch = "sed -i -e 's|base < 4.8|base|' hspec-expectations.cabal"; postPatch = "sed -i -e 's|base < 4.8|base|' hspec-expectations.cabal";