Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

haskell package set configuration clean-up

Closes https://github.com/NixOS/nixpkgs/pull/33588.

authored by Matthew Pickering and committed by Peter Simons 5542e3cc f1a96c50

+29 -143
+29 -128
pkgs/development/haskell-modules/configuration-common.nix
··· 49 49 Dust-crypto = dontCheck super.Dust-crypto; 50 50 hasql-postgres = dontCheck super.hasql-postgres; 51 51 hspec = super.hspec.override { stringbuilder = dontCheck self.stringbuilder; }; 52 - hspec-core = super.hspec-core.override { silently = dontCheck super.silently; temporary = dontCheck super.temporary; }; 52 + hspec-core = super.hspec-core.override { silently = dontCheck self.silently; temporary = dontCheck self.temporary; }; 53 + 53 54 hspec-expectations = dontCheck super.hspec-expectations; 54 55 HTTP = dontCheck super.HTTP; 55 56 http-streams = dontCheck super.http-streams; ··· 57 58 options = dontCheck super.options; 58 59 statistics = dontCheck super.statistics; 59 60 vector-builder = dontCheck super.vector-builder; 60 - 61 - # https://github.com/gilith/hol/pull/1 62 - hol = appendPatch (doJailbreak super.hol) (pkgs.fetchpatch { 63 - name = "hol.patch"; 64 - url = "https://github.com/gilith/hol/commit/a5171bdcacdbe93c46c9f82ec5a38f2a2b69e632.patch"; 65 - sha256 = "0xkgbhc4in38hspxgz2wcvk56pjalw43gig7lzkjfhgavwxv3jyj"; 66 - }); 67 61 68 62 # This test keeps being aborted because it runs too quietly for too long 69 63 Lazy-Pbkdf2 = if pkgs.stdenv.isi686 then dontCheck super.Lazy-Pbkdf2 else super.Lazy-Pbkdf2; ··· 106 100 # https://github.com/froozen/kademlia/issues/2 107 101 kademlia = dontCheck super.kademlia; 108 102 109 - # https://github.com/haskell-works/hw-xml/issues/23 110 - # Disable building the hw-xml-example executable: 111 - hw-xml = (overrideCabal super.hw-xml (drv: { 112 - postPatch = "sed -i 's/ hs-source-dirs: app/" + 113 - " hs-source-dirs: app\\n" + 114 - " buildable: false/' hw-xml.cabal"; 115 - })); 116 - 103 + # Test suite doesn't terminate 117 104 hzk = dontCheck super.hzk; 105 + # Tests require a Kafka broker running locally 118 106 haskakafka = dontCheck super.haskakafka; 119 107 120 108 # Depends on broken "lss" package. ··· 144 132 }); 145 133 146 134 # The Haddock phase fails for one reason or another. 147 - acme-one = dontHaddock super.acme-one; 148 - attoparsec-conduit = dontHaddock super.attoparsec-conduit; 149 - base-noprelude = dontHaddock super.base-noprelude; 150 - blaze-builder-conduit = dontHaddock super.blaze-builder-conduit; 151 - BNFC-meta = dontHaddock super.BNFC-meta; 152 135 bytestring-progress = dontHaddock super.bytestring-progress; 153 - comonads-fd = dontHaddock super.comonads-fd; 154 - comonad-transformers = dontHaddock super.comonad-transformers; 155 136 deepseq-magic = dontHaddock super.deepseq-magic; 156 - diagrams = dontHaddock super.diagrams; 157 - either = dontHaddock super.either; 158 137 feldspar-signal = dontHaddock super.feldspar-signal; # https://github.com/markus-git/feldspar-signal/issues/1 159 - gl = doJailbreak (dontHaddock super.gl); # jailbreak fixed in unreleased (2017-03-01) https://github.com/ekmett/gl/commit/885e08a96aa53d80c3b62e157b20d2f05e34f133 160 - groupoids = dontHaddock super.groupoids; 161 - hamlet = dontHaddock super.hamlet; 162 - HaXml = dontHaddock super.HaXml; 163 138 hoodle-core = dontHaddock super.hoodle-core; 164 139 hsc3-db = dontHaddock super.hsc3-db; 165 - http-client-conduit = dontHaddock super.http-client-conduit; 166 - http-client-multipart = dontHaddock super.http-client-multipart; 167 - markdown-unlit = dontHaddock super.markdown-unlit; 168 - network-conduit = dontHaddock super.network-conduit; 169 - shakespeare-js = dontHaddock super.shakespeare-js; 170 - shakespeare-text = dontHaddock super.shakespeare-text; 171 - swagger = dontHaddock super.swagger; # http://hydra.cryp.to/build/2035868/nixlog/1/raw 172 - swagger2 = dontHaddock super.swagger2; 173 - wai-test = dontHaddock super.wai-test; 174 - zlib-conduit = dontHaddock super.zlib-conduit; 175 - 176 - # https://github.com/massysett/rainbox/issues/1 177 - rainbox = dontCheck super.rainbox; 178 140 179 141 # https://github.com/techtangents/ablist/issues/1 180 142 ABList = dontCheck super.ABList; ··· 211 173 212 174 inline-java = addBuildDepend super.inline-java pkgs.jdk; 213 175 214 - # tests don't compile for some odd reason 215 - jwt = dontCheck super.jwt; 216 - 217 176 # https://github.com/mvoidex/hsdev/issues/11 218 177 hsdev = dontHaddock super.hsdev; 219 178 ··· 258 217 HerbiePlugin = dontCheck super.HerbiePlugin; 259 218 wai-cors = dontCheck super.wai-cors; 260 219 261 - # https://github.com/NICTA/digit/issues/3 262 - digit = dontCheck super.digit; 220 + # base bound 221 + digit = doJailbreak super.digit; 222 + 263 223 264 224 # Fails for non-obvious reasons while attempting to use doctest. 265 225 search = dontCheck super.search; ··· 476 436 apiary-session = dontCheck super.apiary-session; 477 437 apiary-websockets = dontCheck super.apiary-websockets; 478 438 479 - # HsColour: Language/Unlambda.hs: hGetContents: invalid argument (invalid byte sequence) 480 - unlambda = dontHyperlinkSource super.unlambda; 481 - 482 439 # https://github.com/PaulJohnson/geodetics/issues/1 483 440 geodetics = dontCheck super.geodetics; 484 - 485 - # https://github.com/AndrewRademacher/aeson-casing/issues/1 486 - aeson-casing = dontCheck super.aeson-casing; 487 441 488 442 # https://github.com/junjihashimoto/test-sandbox-compose/issues/2 489 443 test-sandbox-compose = dontCheck super.test-sandbox-compose; ··· 494 448 # https://github.com/afcowie/locators/issues/1 495 449 locators = dontCheck super.locators; 496 450 497 - # https://github.com/anton-k/csound-expression-dynamic/issues/1 498 - csound-expression-dynamic = dontHaddock super.csound-expression-dynamic; 499 - 500 451 # Test suite won't compile against tasty-hunit 0.9.x. 501 452 zlib = dontCheck super.zlib; 502 453 ··· 511 462 doctest-discover = addBuildTool super.doctest-discover (dontCheck super.doctest-discover); 512 463 tasty-discover = addBuildTool super.tasty-discover (dontCheck super.tasty-discover); 513 464 514 - # https://github.com/bos/aeson/issues/253 515 - aeson = dontCheck super.aeson; 465 + # generic-deriving bound is too tight 466 + aeson = doJailbreak super.aeson; 516 467 517 468 # Won't compile with recent versions of QuickCheck. 518 469 inilist = dontCheck super.inilist; ··· 536 487 # FPCO's fork of Cabal won't succeed its test suite. 537 488 Cabal-ide-backend = dontCheck super.Cabal-ide-backend; 538 489 539 - # https://github.com/jaspervdj/websockets/issues/104 490 + # QuickCheck version, also set in cabal2nix 540 491 websockets = dontCheck super.websockets; 541 492 542 493 # Avoid spurious test suite failures. ··· 565 516 # https://github.com/kazu-yamamoto/logger/issues/42 566 517 logger = dontCheck super.logger; 567 518 568 - # https://github.com/qnikst/imagemagick/issues/34 569 - imagemagick = dontCheck super.imagemagick; 519 + # vector dependency < 0.12 520 + imagemagick = doJailbreak super.imagemagick; 570 521 571 522 # https://github.com/liyang/thyme/issues/36 572 523 thyme = dontCheck super.thyme; ··· 588 539 589 540 # https://github.com/athanclark/sets/issues/2 590 541 sets = dontCheck super.sets; 591 - 592 - # https://github.com/lens/lens-aeson/issues/18 593 - lens-aeson = dontCheck super.lens-aeson; 594 542 595 543 # Install icons and metadata, remove broken hgettext dependency. 596 544 # https://github.com/vasylp/hgettext/issues/10 ··· 668 616 669 617 # https://github.com/pxqr/base32-bytestring/issues/4 670 618 base32-bytestring = dontCheck super.base32-bytestring; 671 - 672 - # https://github.com/JohnLato/listlike/pull/6#issuecomment-137986095 673 - ListLike = dontCheck super.ListLike; 674 619 675 620 # https://github.com/goldfirere/singletons/issues/122 676 621 singletons = dontCheck super.singletons; 677 622 678 - # https://github.com/guillaume-nargeot/hpc-coveralls/issues/52 679 - hpc-coveralls = disableSharedExecutables super.hpc-coveralls; 680 - 681 623 # https://github.com/fpco/stackage/issues/838 682 624 cryptonite = dontCheck super.cryptonite; 683 625 684 626 # We cannot build this package w/o the C library from <http://www.phash.org/>. 685 627 phash = markBroken super.phash; 686 - 687 - # https://github.com/sol/hpack/issues/53 688 - hpack = dontCheck super.hpack; 689 628 690 629 # https://github.com/deech/fltkhs/issues/16 691 - fltkhs = overrideCabal super.fltkhs (drv: { 692 - broken = true; # linking fails because the build doesn't pull in the mesa libraries 693 - }); 630 + # linking fails because the build doesn't pull in the mesa libraries 631 + fltkhs = markBroken super.fltkhs; 694 632 fltkhs-fluid-examples = dontDistribute super.fltkhs-fluid-examples; 695 633 696 634 # We get lots of strange compiler errors during the test suite run. ··· 767 705 applicative-quoters = doJailbreak super.applicative-quoters; 768 706 769 707 # https://github.com/roelvandijk/terminal-progress-bar/issues/13 708 + # Still needed because of HUnit < 1.6 770 709 terminal-progress-bar = doJailbreak super.terminal-progress-bar; 771 710 772 711 # https://hydra.nixos.org/build/42769611/nixlog/1/raw ··· 792 731 hspec-expectations-pretty-diff = dontCheck super.hspec-expectations-pretty-diff; 793 732 794 733 # https://github.com/basvandijk/lifted-base/issues/34 734 + # Still needed as HUnit < 1.5 795 735 lifted-base = doJailbreak super.lifted-base; 796 736 797 737 # https://github.com/aslatter/parsec/issues/68 ··· 802 742 system-filepath = dontCheck super.system-filepath; 803 743 804 744 # https://github.com/basvandijk/case-insensitive/issues/24 745 + # Still needed as HUnit < 1.6 805 746 case-insensitive = doJailbreak super.case-insensitive; 806 747 807 748 # https://github.com/hvr/uuid/issues/28 808 749 uuid-types = doJailbreak super.uuid-types; 809 750 uuid = doJailbreak super.uuid; 810 751 811 - # https://github.com/hspec/hspec/issues/307 812 - hspec-contrib = dontCheck super.hspec-contrib; 813 - 814 752 # https://github.com/ekmett/lens/issues/713 815 753 lens = disableCabalFlag super.lens "test-doctests"; 816 754 817 755 # https://github.com/haskell/fgl/issues/60 756 + # Needed for QuickCheck < 2.10 818 757 fgl = doJailbreak super.fgl; 819 758 fgl-arbitrary = doJailbreak super.fgl-arbitrary; 820 759 821 - # https://github.com/Gabriel439/Haskell-DirStream-Library/issues/8 822 - dirstream = doJailbreak super.dirstream; 823 - 824 - # https://github.com/xmonad/xmonad-extras/issues/3 825 - xmonad-extras = doJailbreak super.xmonad-extras; 826 - 827 - # https://github.com/int-e/QuickCheck-safe/issues/2 828 - QuickCheck-safe = doJailbreak super.QuickCheck-safe; 829 - 830 - # https://github.com/mokus0/dependent-sum-template/issues/7 831 - dependent-sum-template = doJailbreak super.dependent-sum-template; 832 - 833 - # https://github.com/jcristovao/newtype-generics/issues/13 834 - newtype-generics = doJailbreak super.newtype-generics; 835 - 836 - # https://github.com/lambdabot/lambdabot/issues/158 837 - lambdabot-core = doJailbreak super.lambdabot-core; 838 - 839 - # https://github.com/lambdabot/lambdabot/issues/159 840 - lambdabot = doJailbreak super.lambdabot; 841 - 842 - # https://github.com/jswebtools/language-ecmascript/pull/81 843 - language-ecmascript = doJailbreak super.language-ecmascript; 844 - 845 - # https://github.com/choener/DPutils/pull/1 846 - DPutils = doJailbreak super.DPutils; 847 - 848 - # fixed in unreleased (2017-03-01) https://github.com/ekmett/machines/commit/5463cf5a69194faaec2345dff36469b4b7a8aef0 849 - machines = doJailbreak super.machines; 850 - 851 - # fixed in unreleased (2017-03-01) https://github.com/choener/OrderedBits/commit/7b9c6c6c61d9acd0be8b38939915d287df3c53ab 852 - OrderedBits = doJailbreak super.OrderedBits; 853 - 854 - # https://github.com/haskell-distributed/rank1dynamic/issues/17 855 - rank1dynamic = doJailbreak super.rank1dynamic; 760 + # The tests spuriously fail 761 + libmpd = dontCheck super.libmpd; 856 762 857 763 # https://github.com/dan-t/cabal-lenses/issues/6 858 764 cabal-lenses = doJailbreak super.cabal-lenses; ··· 868 774 869 775 # https://github.com/danidiaz/streaming-eversion/issues/1 870 776 streaming-eversion = dontCheck super.streaming-eversion; 871 - 872 - # strict-io is too cautious with it's deepseq dependency 873 - # strict-io doesn't have a working bug tracker, the author has been emailed however. 874 - strict-io = doJailbreak super.strict-io; 875 777 876 778 # https://github.com/danidiaz/tailfile-hinotify/issues/2 877 779 tailfile-hinotify = dontCheck super.tailfile-hinotify; ··· 889 791 # https://github.com/diagrams/diagrams-solve/issues/4 890 792 diagrams-solve = dontCheck super.diagrams-solve; 891 793 892 - # version 1.3.1.2 does not compile: syb >=0.1.0.2 && <0.7 893 - ChasingBottoms = doJailbreak super.ChasingBottoms; 894 - 895 794 # test suite does not compile with recent versions of QuickCheck 896 795 integer-logarithms = dontCheck (super.integer-logarithms); 897 - 898 - # https://github.com/vincenthz/hs-tls/issues/247 899 - tls = dontCheck super.tls; 900 796 901 797 # missing dependencies: blaze-html >=0.5 && <0.9, blaze-markup >=0.5 && <0.8 902 798 digestive-functors-blaze = doJailbreak super.digestive-functors-blaze; 799 + digestive-functors = doJailbreak super.digestive-functors; 903 800 904 801 # missing dependencies: doctest ==0.12.* 905 802 html-entities = doJailbreak super.html-entities; ··· 910 807 # cryptol-2.5.0 doesn't want happy 1.19.6+. 911 808 cryptol = super.cryptol.override { happy = self.happy_1_19_5; }; 912 809 913 - # https://github.com/jtdaugherty/text-zipper/issues/11 914 - text-zipper = dontCheck super.text-zipper; 915 - 916 - # https://github.com/graknlabs/grakn-haskell/pull/1 810 + # Tests try to invoke external process and process == 1.4 917 811 grakn = dontCheck (doJailbreak super.grakn); 918 812 919 813 # test suite requires git and does a bunch of git operations ··· 986 880 genvalidity-property = doJailbreak super.genvalidity-property; 987 881 path = dontCheck super.path; 988 882 883 + # Test suite fails due to trying to create directories 884 + path-io = dontCheck super.path-io; 885 + 989 886 # Duplicate instance with smallcheck. 990 887 store = dontCheck super.store; 991 888 ··· 1031 928 1032 929 # armv7l fixes. 1033 930 happy = if pkgs.stdenv.isArm then dontCheck super.happy else super.happy; # Similar to https://ghc.haskell.org/trac/ghc/ticket/13062 931 + 932 + # Tries to read a file it is not allowed to in the test suite 933 + load-env = dontCheck super.load-env; 934 + 1034 935 }
-11
pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
··· 56 56 # http://hub.darcs.net/dolio/vector-algorithms/issue/9#comment-20170112T145715 57 57 vector-algorithms = dontCheck super.vector-algorithms; 58 58 59 - # https://github.com/thoughtbot/yesod-auth-oauth2/pull/77 60 - yesod-auth-oauth2 = doJailbreak super.yesod-auth-oauth2; 61 59 62 60 # https://github.com/nominolo/ghc-syb/issues/20 63 61 ghc-syb-utils = dontCheck super.ghc-syb-utils; 64 - 65 - # Work around overly restrictive constraints on the version of 'base'. 66 - ChasingBottoms = doJailbreak super.ChasingBottoms; 67 - hashable = doJailbreak super.hashable; 68 - protolude = doJailbreak super.protolude; 69 - quickcheck-instances = doJailbreak super.quickcheck-instances; 70 - 71 - # https://github.com/aristidb/aws/issues/238 72 - aws = doJailbreak super.aws; 73 62 74 63 # Upstream failed to distribute the testsuite for 8.2 75 64 # https://github.com/alanz/ghc-exactprint/pull/60
-4
pkgs/development/haskell-modules/configuration-ghc-head.nix
··· 47 47 # We have time 1.5 48 48 aeson = disableCabalFlag super.aeson "old-locale"; 49 49 50 - # Show works differently for record syntax now, breaking haskell-src-exts' parser tests 51 - # https://github.com/haskell-suite/haskell-src-exts/issues/224 52 - haskell-src-exts = dontCheck super.haskell-src-exts; 53 - 54 50 # Setup: At least the following dependencies are missing: base <4.8 55 51 hspec-expectations = overrideCabal super.hspec-expectations (drv: { 56 52 postPatch = "sed -i -e 's|base < 4.8|base|' hspec-expectations.cabal";