Commit graph

244 commits

Author SHA1 Message Date
(cdep)illabout 96f6dbbd10
haskell: bump uses of Cabal_3_6_0_0 to Cabal_3_6_1_0 to get rid of eval errors 2021-09-11 11:58:02 +09:00
sternenseemann 61b713abd6 haskell.packages.*.ghc-api-compat: fix across all supported sets
* haskell.packages.ghc884.ghc-api-compat needed us to re-add the 8.6
  version of the package.
* haskell.packages.ghc901.ghc-api-compat now points to the newly
  released 9.0.1 version of the package.
* haskell.packages.ghc8107.ghc-api-compat now correctly points to
  ghc-api-compat 8.10.7.

GHC 9.2.1 is still unsupported (which is to be expected, with it
being a release candidate).

To make sure everything stays working we'll build ghc-api-compat as part
of versionedCompilerJobs.
2021-09-07 15:48:08 +02:00
sternenseemann ac656b2908 haskellPackages.cabal-install-parsers: build with Cabal >= 3.6
cabal-install-parsers depends on Cabal ^>= 3.6.0.0 since the latest release.
2021-09-04 22:22:41 +02:00
Malte Brandy a4528a1270
haskellPackages.ghc-api-compat: Use correct versions for every ghc 2021-08-18 02:12:29 +02:00
lassulus d07be4c5cb haskellPackages.graphql-engine: update to 2.0.5 + refactor 2021-08-16 19:51:58 +02:00
Malte Brandy 1445bec521
haskellPackages.cabal-install: Switch Cabal back to 3.4 on older ghcs 2021-08-10 13:46:37 +02:00
sternenseemann 124d658eff haskellPackages.{cabal-install, cabal-install-parsers}: use Cabal 3.6.0.0
Try using the latest and greatest version Cabal for cabal-install and
cabal-install-parsers, we'll see how it goes.
2021-08-07 16:23:10 +02:00
sternenseemann d675e19abb haskellPackages.{hackage-db,distribution-nixpkgs}: new rel. bounds
* no released version of hackage2nix does support distribution-nixpkgs yet.

* hackage-db 2.1.2 fixes an annoying bug introduced in 2.1.1 and also supports
  Cabal 3.4: https://github.com/NixOS/cabal2nix/issues/501
2021-07-26 18:59:58 +02:00
sternenseemann c145f7930d haskellPackages.hackage-db: downgrade to 2.1.0 if Cabal < 3.4
Stackage Nighly recently upgraded their version of hackage-db from 2.1.0
to 2.1.1. 2.1.1 had a compatibility fix for Cabal 3.4 [1]. However it
did not increase the version bound on Cabal nor fails to compile with
Cabal 3.2, so Stackage was able to update it.

Unfortunately hackage-db with Cabal 3.2 causes observable issues [2]
in cabal2nix, so we need to downgrade it for all compilers that still
ship a Cabal version < 3.4.

Also ideally we should update the constraints for hackage-db 2.1.0 and
hackage-db 2.1.1 on hackage. See also [3].

[1]: https://github.com/peti/hackage-db/pull/12
[2]: https://github.com/NixOS/cabal2nix/issues/501
[3]: https://github.com/peti/hackage-db/pull/14
2021-06-10 15:30:13 +02:00
sternenseemann 083ac8e64c haskellPackages.llvmPackages: dontRecurseIntoAttrs
They are not an exposed part of haskellPackages per se, so we shouldn't
list them in nix-env. Additionally this should prevent the failed lldb
build from cluttering our jobset output.
2021-06-04 11:36:24 +02:00
sternenseemann f3119f03ac haskell.packages.*.cabal-install: remove random, hashable overrides
These are not necessary anymore as stackage naturally contains random
1.2.0 and we apply the hashable fix globally as well.
2021-05-19 15:44:04 +02:00
Peter Simons 1c16f8cf4f cabal-install: fix the build with ghc-8.8.x 2021-03-19 20:51:56 +01:00
Peter Simons de657f6a2a cabal-install: fix build with ghc-8.8.x 2021-03-12 20:34:28 +01:00
Malte Brandy 2b473737f9 haskell.packages.ghc884.vector: Disable checks 2021-02-12 20:35:22 +01:00
Peter Simons 48104ded64 hls-hlint-plugin: add new ghc-lib dependency when building with older compilers 2021-02-05 23:05:20 +01:00
Malte Brandy 00593bdb64
cachix: Build from 8.10.2, fix build and activate on hydra
This removes the broken flag from everything depending on servant so it
can get a new chance to build following the servant fix.
2020-11-21 19:59:08 +01:00
Domen Kožar dc9f85e69e
cachix: make it build 2020-11-20 23:13:51 +01:00
(cdep)illabout 0ef0f83fbf haskellPackages.semver-range: disable tests to get building 2020-11-20 20:57:39 +01:00
Malte Brandy 8a559a2a08 haskell.packages.ghc884.ghc-lib-parser-ex: Fix build for hls 2020-11-20 20:57:38 +01:00
Malte Brandy b568d074ba haskell.packages.{ghc865,ghc884}.exceptions: Create attribute 2020-11-20 20:57:37 +01:00
Malte Brandy bf29c147c3 haskellPackages.haskell-language-server: Fix build
In preparation of the upcoming 0.6.0 release I wanted to fix hls.

It introduces two new plugin packages, which are not on hackage yet.

I remove apply-refact overrides, because current apply-refact versions
are compatible with all ghcs we support, according to their changelog.

I override more of the hls dependencies globally on the whole package
set, to avoid a lot of duplicate compilations. And because @peti changed
my mind about this being a good practice.

hls now uses a released version of ghcide
2020-11-13 21:37:56 +01:00
(cdep)illabout 01a403fb71 haskellPackages.quickcheck-instances: no longer needs doJailbreak in ghc-8.8. 2020-11-13 21:37:56 +01:00
Peter Simons ed41afe60a haskell: update Cabal overrides for the new 3.2.1.0 release 2020-10-30 21:11:47 +01:00
Peter Simons 688d248e3d liquidhaskell and friends don't compile with ghc-8.8.x. 2020-09-04 20:27:58 +02:00
Ariel Nunez a29ed35bc7 hasura: 1.2.1 -> 1.3.1-beta.1 2020-09-03 14:59:08 -05:00
Peter Simons 175934c4f3 haskell-cryptohash-sha256: the jailbreak is necessary for all compilers 2020-07-03 20:55:32 +02:00
Peter Simons 3ee117a0a9 xmobar: jailbreak latest version to accept recent timezone-olson packages 2020-06-19 22:29:22 +02:00
Peter Simons fbc0845f28 haskell-cabal-fmt: overriding Cabal-3.2 is unnecessary for ghc-8.10.x and beyond 2020-05-29 22:28:47 +02:00
Peter Simons 21a354b6dd haskell-cabal-install-parsers: re-factor overrides to fix build with ghc-8.10.1 2020-04-25 18:22:55 +02:00
Peter Simons a1463efcde haskell-haddock: fix build with our default compiler ghc-8.8.3
Fixes https://github.com/NixOS/nixpkgs/issues/85728.
2020-04-24 22:00:39 +02:00
andys8 28556cd9ab Haskell: apply-refact version has to match ghc
This commit maps:

* GHC 8.6 to apply-refact 0.6
* GHC 8.8 to apply-refact 0.7
* GHC 8.10 to apply-refact 0.8

See:
<https://hackage.haskell.org/package/apply-refact/changelog>
<https://github.com/mpickering/apply-refact/issues/56>
2020-04-24 22:00:38 +02:00
Peter Simons 0eb4bfa5fb darcs: don't try to build the package with ghc-8.8.x 2020-04-10 21:27:47 +02:00
Peter Simons f660d6ec3d haskell-hackage-security: update default version to 0.6.x 2020-04-03 22:00:29 +02:00
Peter Simons 11d28064b7 haskell-Cabal: update overrides for the new 3.2.x release 2020-04-03 22:00:29 +02:00
(cdep)illabout 6fe6d3b077 haskellPackages.semver-range: disable tests on ghc88x 2020-03-06 22:15:11 +01:00
Michael Alan Dorman df8a0d64b5 json: remove obsolete patches that break the build
The patchs in question fail to apply against the current versoin, and
thus the package fails to build; `hasktags` is then collateral damage.

Remove reference to the patch and make sure neither package will be
marked broken going forward.
2020-02-28 20:42:30 +01:00
Peter Simons ba190861e8 haskell-relude: avoid test suite failure when building with ghc-8.8.x 2020-02-28 20:42:26 +01:00
Peter Simons 95f15e7b31 haskell-polyparse: the latest version works with ghc-8.8.x 2020-02-28 20:42:26 +01:00
Domen Kožar 21ded2d667 servant-server: fix build 2020-02-28 20:42:25 +01:00
Peter Simons 93b4f52f2c haskellPackages: drop obsolete overrides that break evaluation 2020-02-28 20:31:26 +01:00
Domen Kožar 524535f185 configuration-ghc-8.8.x: fix eval 2020-02-28 20:31:24 +01:00
Peter Simons ee52b6ac68 haskell-brick: update overrides to the latest version 2020-02-28 20:31:23 +01:00
Peter Simons aba43b8c3e ghc-8.8.x: update override for lens to the latest version 2020-02-28 20:31:22 +01:00
(cdep)illabout a0171c6439 haskellPackages.prettyprinter: make sure everything depends on this correctly 2020-02-28 20:31:22 +01:00
(cdep)illabout 025faad9a9 haskell.packages.ghc882.policeman: fix up ansi-terminal dep 2020-02-28 20:31:21 +01:00
Peter Simons 92f21f7159 haskell-lens: use latest version when building with ghc-8.8.x 2020-02-07 20:37:59 +01:00
Peter Simons 44d258777c haskell-brick: update overrides to latest version 2020-02-07 20:37:59 +01:00
Peter Simons 6d068993b5 haskell-relude-6.0.0.0 does not pass its doctest suite 2020-01-31 21:05:56 +01:00
Peter Simons 6516c12dbe haskell-policeman: add overrides to provide newer versions of dependencies 2020-01-31 21:05:56 +01:00
Peter Simons 2b10aed0d7 ghc-8.8.x: update version overrides for microlens packages 2020-01-31 21:05:56 +01:00
Peter Simons 26dbde5dbc haskell-pandoc: disable test suite when building with ghc-8.8.x
pandoc-2.9.1.1 fails 1 test.
2020-01-27 10:00:45 +01:00
Peter Simons 05a54d417b ghc-8.8.x: update overrides 2020-01-24 21:02:42 +01:00
Peter Simons 8a5c2f6569 haskell-tls-session-manager: fix build with ghc-8.8.x 2020-01-17 21:14:34 +01:00
Peter Simons 7b8cdfabcd haskell-pandoc: update ghc-8.8.x override for the latest version 2020-01-10 20:56:20 +01:00
Peter Simons 1886028a3c haskell-tls: update ghc-8.8.x override for the latest version 2020-01-10 20:56:20 +01:00
Peter Simons 6010ce05b7 pandoc: update override for the ghc-8.8.x to the latest version 2019-12-27 20:37:13 +01:00
Peter Simons 9c01e123d6 haskell-src-meta: update ghc-8.8.x build to the latest version
This allows us to build the package without the need for
patching. The test suite still doesn't compile unfortunately.

Closes https://github.com/NixOS/nixpkgs/pull/75594.
2019-12-13 20:48:35 +01:00
Peter Simons 69e794d1d8 haskell-pandoc: update the ghc-8.8.x build to version 2.9 2019-12-13 20:48:35 +01:00
Peter Simons 2d94437a32 haskell-doctemplates: update override for ghc-8.8.x 2019-12-13 20:48:13 +01:00
Peter Simons 88179304b4 haskell-brick: use the latest version when building with ghc-8.8.x 2019-12-06 20:55:12 +01:00
Peter Simons cd9816e0f7 haskell-pandoc: update ghc-8.8.x override for the latest version 2019-12-06 20:55:12 +01:00
Peter Simons 66285b7ab7 haskell-vty: use latest version when building with ghc-8.8.x 2019-12-06 20:55:12 +01:00
Peter Simons 09186816b1 haskell-regex-tdfa: update override for ghc-8.8.x 2019-12-06 20:55:12 +01:00
Peter Simons fa1a064694 haskell-monad-par: enable test suite again 2019-12-06 20:55:12 +01:00
Peter Simons 0db312b2f1 ghc-8.8.x: update package versions to fix builds 2019-12-06 20:55:12 +01:00
Peter Simons 6b362fd020 ghc-8.8.x: update package versions to fix builds 2019-12-05 14:44:05 +01:00
Peter Simons 2c5b9702ef haskell-prettyprinter: use latest version when building with ghc-8.8.x 2019-12-03 11:45:29 +01:00
Peter Simons 2ad2f5ac18 haskell-pandoc et al: use the latest package versions for ghc-8.8.x 2019-11-29 21:51:32 +01:00
toonn 64c5eda317 alex: drop patch
simonmar/alex#140 was merged and the patch has been applied in alex
version 3.2.5 so the build is broken trying to re-apply the patch.
2019-11-18 17:04:41 +01:00
Domen Kožar 5235b19045
Elm: 0.19.0 -> 0.19.1 2019-10-21 21:32:35 +02:00
Peter Simons 3a24e332cf haskell-generics-sop: use the latest version when building with ghc-8.8.x 2019-10-18 22:50:37 +02:00
Peter Simons 561bf1a91b haskell-tls: update ghc-8.8.x override for the latest version 2019-10-18 22:49:18 +02:00
Marek Fajkus ef0e3b7762 ghc-8.8.x: jailbreak io-streams-haproxy 2019-10-18 22:49:17 +02:00
Peter Simons 33366cce14 haskell-hpack: use latest version to fix build on ghc-8.8.x 2019-10-13 14:27:17 +02:00
Peter Simons 5d179c578c ghc-8.8.x: drop obsolete overrides 2019-10-13 14:27:17 +02:00
Peter Simons 7233426fe2 haskell-regex-tdfa: use latest version when compiling with ghc-8.8.1 2019-10-07 20:51:00 +02:00
Peter Simons fba182f944 ghc-8.8.x: clean up existing overrides 2019-10-07 20:51:00 +02:00
Peter Simons 3642089bdf Revert "ghc modules: use specific commit to fetch patches (#70546)"
This reverts commit dbb72303b1.
2019-10-07 08:50:13 +02:00
Dylan Simon dbb72303b1 ghc modules: use specific commit to fetch patches (#70546)
rather than master to retrieve patches, some of which have gone stale
2019-10-06 19:39:53 -04:00
Peter Simons 0002a7d9ee haskell-regex-pcre-builtin: fix build with ghc 8.8.1 2019-10-06 11:15:08 +02:00
Utku Demir 26e22e6dfe
Remove obsolete patch for Hedgehog on ghc-8.8.1 2019-10-03 11:07:21 +13:00
Domen Kožar 606b9f40aa
haskell.packages.ghc881.regex-posix: fix build 2019-09-29 09:11:04 +02:00
Peter Simons e234266c38 haskell-bencode: mark the package broken with ghc-8.8.x 2019-09-25 15:29:46 +02:00
Peter Simons ab64a69b54 haskell-src: mark the package broken with ghc-8.8.x 2019-09-25 15:29:46 +02:00
Peter Simons 4485fc595d haskell-memory: use the latest version when compiling with ghc-8.8.1 2019-09-25 15:29:46 +02:00
Peter Simons 7321582c7d haskell-microlens: use the latest version when compiling with ghc-8.8.1 2019-09-25 15:29:46 +02:00
Peter Simons ba0b08074c haskell-shelly: use the latest version when compiling with ghc-8.8.1 2019-09-25 15:28:40 +02:00
Peter Simons 17c3cfd9f0 haskell-hackage-db: use the latest version when compiling with ghc-8.8.1 2019-09-25 15:28:40 +02:00
Peter Simons e49df9257c haskell-string-qq: use the latest version when compiling with ghc-8.8.1 2019-09-25 15:28:40 +02:00
Peter Simons b2c43483b0 haskell-hpack: patch the build to make it succeed with ghc-8.8.1 2019-09-25 15:28:40 +02:00
Peter Simons 38a0df1867 haskell-easytest: mark the build as broken when compiling with ghc-8.8.x 2019-09-22 13:43:10 +02:00
Peter Simons 666dac71ac haskell-string-qq: patch the build to succeed when compiling with ghc-8.8.x 2019-09-22 13:43:09 +02:00
Peter Simons 7832aefa80 haskell-monad-par: disable the test suite when building with ghc-8.8.x 2019-09-22 13:43:09 +02:00
Peter Simons 373796c411 haskell-shakespeare: drop obsolete patch to fix the build with ghc-8.8.x 2019-09-22 13:43:09 +02:00
Peter Simons 9b4cd7c36b haskell-csv: patch the build to succeed when compiling with ghc-8.8.x 2019-09-22 13:43:09 +02:00
Peter Simons a62a68e125 haskell-hpack: mark the build as broken when compiling with ghc-8.8.x 2019-09-22 13:43:09 +02:00
Peter Simons 4f21e87fbe haskell-aeson-diff: jailbreak when building with ghc-8.8.x 2019-09-22 13:43:09 +02:00
Peter Simons cab7cea53c haskell-cassava: use the latest version when building with ghc-8.8.x 2019-09-22 13:43:09 +02:00
Peter Simons a0ac8c8784 haskell-xmonad-contrib: use the latest version when building with ghc-8.8.x 2019-09-22 13:43:09 +02:00
Peter Simons c464e35b69 haskell-lens: use the latest version when building with ghc-8.8.x 2019-09-22 13:43:09 +02:00