Commit Graph

79 Commits

Author SHA1 Message Date
sternenseemann
5944112af7 haskell.packages.ghc902.weeder: pin to < 2.4
weeder 2.4.0 /requires/ GHC 9.2.
2022-05-31 12:41:31 +02:00
sternenseemann
813f8b5efb haskellPackages: xhtml is not bundled if haddock is disabled
The xhtml library is only built as part of the GHC build process if GHC
is disabled. This means that no GHC cross compiler has xhtml bundled,
since haddock can't be built if GHC is a cross compiler (see relevant
notes in the GHC nix expressions). This means that all packages
depending on xhtml would currently fail to build when cross-compiled, as
haskellPackages would assume it'd be provided by GHC. This is fixed by
this commit.

pkgsStatic hits this case, so we test compilation of xhtml for these
package sets which will remind us to update the attribute name whenever
its version changes.
2022-04-29 15:27:02 +02:00
Robert Hensing
517cb71b02 haskellPackages.inline-c-cpp: Fix tests on darwin 2022-04-01 16:56:31 +02:00
Naïm Favier
f60832c17a
haskellPackages: move knob patch to configuration-common 2022-03-22 15:58:52 +01:00
Naïm Favier
0ba189f2d7
haskellPackages.knob: add patch for GHC 9 support
Patch sent to upstream via email, but the package hasn't been updated in
ten years.

Changes:
- IO.seek should now return the new offset so I used modifyMVar instead
  of modifyMVar_
- mkFileHandle now requires a RawIO instance for Device. Since this was
  not the case before and I don't think we need to actually support raw
  IO, I used DeriveAnyClass.
2022-03-16 02:10:08 +01:00
sternenseemann
33f275b4c2 all-cabal-hashes: 2022-03-03T10:08:52Z -> 2022-03-08T11:03:28Z
* Regenerate package set

* Adjust overrides for upgrades of ghc-lib* and Cabal.
2022-03-08 13:57:59 +01:00
sternenseemann
41ac9ddde0 haskellPackages.reflection: disable tests for GHC 9.0.2 everywhere
Thanks to Ryan Scott's investigation it became clear this crash can also
happen on Linux and thus seems to be a general issue in GHC 9.0.2 (only,
luckily). We'll disable the test suite everywhere for now, but the
prospect of this crash / incorrect runtime result is a bit ominous.
Refer to the [ghc-issue] for details.

[ghc-issue]: https://gitlab.haskell.org/ghc/ghc/-/issues/21141
2022-02-26 10:10:16 +01:00
sternenseemann
99568d7fe0 haskell.packages.ghc902.weeder: fix eval
weeder 2.3.0 is the default version now.
2022-02-21 01:12:42 +01:00
sternenseemann
65454750ce haskellPackages: fix evaluation with stackage nightly 2022-02-17
I've tried to be conservative and only clean up things that broke eval
which in most cases had to do with uses of versioned packages that have
become the default in Stackage Nightly now. There's probably still
potential for cleaning up some additional workarounds and likely there
are still a lot of new workarounds to be found once we know about the
build failures.

Also note that clean eval only means that nix-env doesn't fail.

Notes:

* HLS now lacks the stylish-haskell and britanny plugins by default,
  since they don't support GHC 9.0.2. We'll need to re-enable them
  for GHC < 9.0.2
* A lot of uses of hspec 2.9.* can probably be removed, as 2.8.* which
  is used in Stackage Nightly is new enough for most packages.
2022-02-18 18:24:23 +01:00
Berk Ozkutuk
3f70d03369 haskell.packages.ghc902.aeson-diff: Fix build by jailbreaking 2022-02-17 21:17:31 +01:00
sternenseemann
550e3a38ba haskell.packages.ghc902.alex: drop unnecessary patch 2022-02-08 11:38:47 +01:00
Malte Brandy
c87d14a770 haskell.packages.ghc902.haskell-language-server: Enable all working plugins 2022-02-05 03:13:24 +01:00
sternenseemann
05bf6ed89e haskell.packages.ghc901.primitive-extras: 0.10.1 -> 0.10.1.4
This update resolves a compilation failure we were seeing with 9.0.1.
2022-02-04 10:13:36 +01:00
Akshay Mankar
cc44c59e4b haskell.packages.ghc901.generic-lens*: 2.2.0.0 -> 2.2.1.0
hackage-packages.nix doesn't have generic-lens_2_2_0_0, perhaps this got missed
in the last update.
2022-02-04 09:43:57 +01:00
Dennis Gosnell
11b0130ebd
haskellPackages.text-short: bump latest version to fix eval errors 2022-01-05 11:30:56 +09:00
Dennis Gosnell
882ecaa530
haskellPackages.hlint: bump latest version 2022-01-05 11:29:05 +09:00
sternenseemann
c066e2f316 haskell.packages.ghc902: adjust pinned ghc-lib* versions 2021-12-27 16:23:23 +01:00
sternenseemann
132b8eb183 haskell.packages.ghc901.dependent-sum-template: drop released patch 2021-12-22 10:51:40 +01:00
sternenseemann
7a6878a956 haskell.compiler.*.hlint: make hlint is built on Hydra for GHC >= 9 2021-12-21 16:12:21 +01:00
sternenseemann
a7e1fcdeca haskell.packages.ghc901.hlint: 3.3.4 -> 3.3.5
haskell.packages.ghc921.hlint: adjust override
2021-12-21 15:22:46 +01:00
sternenseemann
a2e7891926 haskell.packages.ghc901.ChasingBottoms: disable stale broken flag 2021-12-15 09:59:53 +01:00
sternenseemann
f963842b02 haskell.packages.ghc901.text-short: 0.1.3 -> 0.1.4
With GHC 9.0.1 text-short's test suite hits a bug that was fixed in 0.1.4.
2021-12-05 14:11:59 +01:00
sternenseemann
5fcda75017 haskell.packages.ghc901.{multistate,butcher}: jailbreak
These packages build fine with GHC 9.0.1, but forbid base 4.15. Build
fixed as a prerequisite to later unbreaking brittany.
2021-12-05 14:04:27 +01:00
sternenseemann
b56049c449 haskellPackages.brittany: pin to 0.13.1.2
0.14.0.0 introduces support for GHC 9.0.1, but also drops support for
all GHCs below, so we can't upgrade to that version.

For the 9.0.1 hls brittany support is now possible in theory. In
practice however, it is a massive pain to get to work, as britanny
depends on the latest and greatest version of multiple packages that are
pinned by Stackage LTS.
2021-12-05 14:04:26 +01:00
sternenseemann
a4f68278eb haskell.packages.ghc901.weeder: jailbreak to allow lens 5.1 2021-12-03 16:01:19 +01:00
sternenseemann
0fee3e1309 haskell.packages.ghc901: adjust to dhall hackage update 2021-12-03 15:44:34 +01:00
sternenseemann
6727f1e420 haskell.packages.ghc901.extras: drop now unnecessary override
We upgraded th-extras to a git revision before for 9.0.1 compat, but
it has now gotten a proper release.
2021-12-03 10:11:11 +01:00
sternenseemann
d7ff8061be haskellPackages: always inherit llvmPackages from ghc's passthru
This means we only have to update the llvmPackages attribute in one
place now and should prevent situations like with 8.6.5 where different
versions would be used in the package set compared to the compiler
build.

Drop comments in the configuration-ghc-X.Y.x.nix files as well, since
LLVM version isn't tied to the compiler minor version at
all (e. g. 8.10.2 and 8.10.7 have different support ranges).
2021-11-23 16:46:18 +01:00
sternenseemann
af3fa3e279 haskell.packages.ghc9{0,2}1.lens: 5.0.1 -> 5.1
Latest on Hackage has been updated, so let's try to follow. Stackage LTS
still doesn't support GHC >= 9.0
2021-11-20 13:29:28 +01:00
sternenseemann
51eed17da0 haskellPackages: adjust overrides for doctest update
* haskell.packages.ghc9{0,2}1.doctest: 0.18.1 -> 0.18.2

* haskell.packages.ghc921.doctest: drop now obsolete patch

* haskellPackages.hledger-lib_1_23: reflect doctest update
2021-11-12 10:44:22 +01:00
Ellie Hermaszewska
17e2591d9b
haskell.packages.ghc901.autoapply: jailbreak 2021-11-08 23:05:38 +08:00
Ellie Hermaszewska
15ae25f36c
haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
sternenseemann
c6b8abd70a haskell.packages.ghc901.th-desugar: use 1.13 to fix eval 2021-11-05 17:38:39 +01:00
Ellie Hermaszewska
0f125bc220
haskell.packages.ghc901.semialign: 1.2 -> 1.2.0.1 2021-11-05 15:42:29 +08:00
Ellie Hermaszewska
93c3be7bf9
haskell.packages.ghc901.autoapply: 0.4.1 -> 0.4.1.1
This version works with ghc 9.0.1
2021-10-19 17:19:37 +08:00
Ellie Hermaszewska
5b67413b70
haskell.packages.ghc901.th-desugar: 1.11 -> 1.12
This version supports ghc901
2021-10-19 17:19:32 +08:00
sternenseemann
b8aaad732a haskell.packages.ghc901.ormolu: fix eval
Follow hackage upgrade 0.3.0.1 -> 0.3.1.0.
2021-10-15 14:27:09 +02:00
sternenseemann
0e90a1f13d haskellPackages.weeder: downgrade to 2.2.0 to keep building
2.3.0 requires GHC 9.0.*, so we'll have to downgrade it for
now. Additionally we'll take this opportunity to fix
haskell.packages.ghc901.weeder and its dependencies.
2021-10-13 13:46:30 +02:00
sternenseemann
2fb806dba0 haskell.packages.*: reflect Cabal minor version update 2021-10-12 12:51:49 +02:00
sternenseemann
f1cdcd739a haskell.packages.ghc901.ormolu: 0.3.0.0 -> 0.3.0.1
Fixes evaluation of ghc901 package set.
2021-09-29 23:51:46 +02:00
Malte Brandy
d71129e1af
haskell.packages.ghc901.haskell-language-server: Fix build 2021-09-18 03:17:47 +02:00
(cdep)illabout
749cb69b24
cabal-install: get building on ghc884, ghc8107, and ghc901 2021-09-11 21:53:44 +09:00
Mauricio Collares
8dbf274116 haskell.packages.ghc901, haskell.packages.ghc921: use hlint_3_3_4 instead of hlint_3_3_1 2021-09-10 22:01:29 -03: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
Vaibhav Sagar
4869c88626 haskell.packages.ghc901: use hlint_3_3_0 instead of hlint_3_3_1
The former attribute got removed due to an upstream update.
2021-07-10 12:36:37 +02:00
sternenseemann
feed0f7253 haskell.packages.ghc901.generic-deriving: remove unnecessary patch
The stackage update seems to include a version with this commit.
2021-06-20 23:28:31 +02:00
Malte Brandy
a5052e1c6e
haskellPackages.haskell-language-server: Fix build for 1.2.0.0 2021-06-20 21:56:34 +02:00
sternenseemann
6f64adbf76 haskell.packages.ghc901.cryptonite: remove unnecessary override
Stackage LTS 18 has brought cryptonite 0.29, so this override breaks evaluation.
2021-06-19 19:37:07 +02:00
sternenseemann
cea929ddd0 haskell.packages.ghc901.profunctors: fix eval error
Stackage has updated profunctors to 5.6.2, so the override is
unnecessary.
2021-06-12 20:46:04 +02:00
sternenseemann
c0d39d26a5 haskell.packages.ghc901.retry: dont build test suite
Test suite doesn't build with GHC 9.0.1 and since upstream is
currently not invested in fixing it, we (temporarily) disable it.

Upside: we can build hoogle again.

https://github.com/Soostone/retry/issues/71
2021-06-12 00:50:36 +02:00