Commit Graph

131 Commits

Author SHA1 Message Date
Dennis Gosnell
5d4c4678ff
haskell.packages.ghc922.hls-fourmolu-plugin: bump assertion from 1.0.2.0 to 1.0.3.0 since jailbreak is still necessary 2022-05-01 22:12:13 +09: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
sternenseemann
c2fe259aa6 release-haskell.nix: clean up testing of static haskell packages
* Test the default pkgsStatic.haskellPackages set, as it should be
  working properly now.

* Instead of GHC 8.10.7 which hasn't gotten some workarounds applied,
  test GHC 9.2.2 additionally which should work as well as GHC 9.0.

* Test building an actual executable, cabal2nix.

* Simplify aggregate job definition.

* Make sure GHC 9.2 lens gets built on Hydra.
2022-04-29 11:21:18 +02:00
Jens Nolte
a5212a7768 haskell.packages.ghc922: use dbus_1_2_24 2022-04-25 00:22:45 +02:00
Malte Brandy
f0da4d8ea2 haskell.packages.ghc922.hls-fourmolu-plugin: jailbreak 2022-04-07 18:53:54 +02:00
Robert Hensing
517cb71b02 haskellPackages.inline-c-cpp: Fix tests on darwin 2022-04-01 16:56:31 +02:00
maralorn
671fd5da51
Merge pull request #165823 from ncfavier/haskell-fetchpatch-relative
haskellPackages: use fetchpatch's `relative` argument
2022-03-27 00:55:36 +01:00
Naïm Favier
ad560b3ef4 haskellPackages.knob: remove patch after 0.2 2022-03-26 11:25:42 +01:00
Naïm Favier
084588444d
haskellPackages: use fetchpatch's relative argument 2022-03-26 10:01:01 +01:00
Janus Troelsen
267cf195d7 Assert versions that have 9.2 compatible versions on Hackage 2022-03-21 05:20:26 +00: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
8f980b4383 haskell.packages.ghc922.ghc-lib-parser-ex: adjust for hackage update 2022-03-13 13:32:45 +01:00
Robert Hensing
44cb144942 haskell.packages.ghc922.tomland: Jailbreak 2022-03-11 12:05:30 +01:00
Robert Hensing
ec2c273190 haskell.packages.ghc922.servant*: Jailbreak and patch 2022-03-11 12:05:30 +01:00
Robert Hensing
451278963b haskell.packages.ghc922.protolude: Patch 2022-03-11 12:05:30 +01:00
Robert Hensing
98d263c0e0 haskell.packages.ghc922.lzma-conduit: Jailbreak 2022-03-10 13:48:15 +01:00
sternenseemann
47f837f5e8 haskell.compiler: ghc921 -> ghc922
https://www.haskell.org/ghc/download_ghc_9_2_2.html
2022-03-09 16:42:07 +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
Dominik Schrempf
5a8ee94382
haskell.packages.ghc921.basement: fix build
See also https://github.com/haskell-foundation/foundation/issues/563.
2022-03-07 20:58:57 +01:00
Malte Brandy
77b623d5a2 haskell-language-server: Fix build 2022-02-21 00:59:59 +01:00
sternenseemann
e95f451ea6 haskell.packages.ghc921: fix eval for Stackage Nightly 2022-02-17
We can drop a lot of version picks that have already made their way into
Stackage Nightly.
2022-02-20 01:15:17 +01:00
Berk Ozkutuk
d9ffac4812 haskell.packages.ghc921.aeson-diff: Fix build by jailbreaking 2022-02-17 21:17:31 +01:00
Malte Brandy
b20fb1ba49 haskell.packages.ghc921.haskell-language-server: Fix build and enable 2022-02-05 03:15:11 +01:00
sternenseemann
7ef2b7a350 haskell.packages.ghc921.ghc-exactprint: provide missing data-default 2022-02-04 10:56:58 +01:00
sternenseemann
7155cd6d14 haskell.packages.ghc921.haskell-src-meta: drop obsolete patch 2022-02-04 10:48:49 +01:00
Malte Brandy
e7adab577c haskellPackages: Fix eval by bumping some versioned references 2022-01-24 21:50:48 +01:00
sternenseemann
c6923ee0d9 jacinda: init at 0.2.0.0
Expose from haskell.packages.ghc921 (which is the only GHC version that
can build it easily atm) and additionally install man page, language
guide and code examples.
2022-01-24 12:42:14 +01:00
sternenseemann
452f76cfaf rure: init at 0.2.1
Also regenerate hackage-packages.nix so it picks up on the newly added
library and remove the broken flag no haskell.packages.ghc921.regex-rure
which builds fine now (earlier GHC versions bundle incompatible
bytestring versions).
2022-01-24 12:42:14 +01:00
Ellie Hermaszewska
3ea7dded40
haskell.packages.ghc921.retrie: 1.2.0.0 -> 1.2.0.1 2022-01-14 22:35:25 +08:00
Ellie Hermaszewska
8404b4d237
haskell.packages.ghc921.path: 0.9.1 -> 0.9.2 2022-01-14 22:35:11 +08:00
Ellie Hermaszewska
93fd2b2a7d
haskell.packages.ghc921.ghc-lib-parser: 9.2.1.20211101 -> 9.2.1.20220109 2022-01-14 22:34:49 +08:00
Ellie Hermaszewska
770e39981b
haskell.packages.ghc921.ghc-exactprint: 1.3.0 -> 1.4.1 2022-01-14 22:34:12 +08:00
Ellie Hermaszewska
72b3fbc969
haskell.packages.ghc921.attoparsec: 0.14.3 -> 0.14.4 2022-01-14 22:33:17 +08:00
Ellie Hermaszewska
1f4dff4634
haskell.packages.ghc921.hashable: 1.4.0.1 -> 1.4.0.2 2022-01-14 22:18:12 +08: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
6a525a1ce6 haskellPackages.retrie: downgrade to 1.1.0.0 for GHC < 9.2
retrie 1.2.0.0 adds support for 9.2, but drops it for all prior
versions. haskell.packages.ghc921.retrie stays at 1.2.0.0.

haskell.packages.ghc921.ghc-exactprint: 0.6.4 -> 1.3.0
2021-12-21 23:32:51 +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
119de5da93 haskell.compiler.ghc921.hlint: 3.3.4 -> unstable-2021-12-12
hlint introduced GHC 9.2.1 support on its development branch recently.
2021-12-15 12:03:30 +01:00
sternenseemann
243cd8e8df haskell.packages.ghc921.hoogle: unbreak
haskell.packages.ghc921.bsb-http-chunked: disable doctest suite

This package's doctest suite is invoked in a weird way apparently which
makes it fail to typecheck with GHC 9.2.1.
2021-12-15 11:13:48 +01:00
sternenseemann
30db91b3c4 haskellPackages: adjust overrides for attoparsec update
latest attoparsec: 0.14.2 -> 0.14.3
2021-12-13 13:13:36 +01:00
sternenseemann
cf33a63733 haskell.packages.ghc921.validity: use proper patch for 0.12.0.0 2021-12-08 14:32:39 +01:00
sternenseemann
be65588e5d haskell.packages.ghc921.memory: ensure head.hackage patch applies 2021-12-06 11:17:21 +01:00
sternenseemann
d6d8eddce4 haskell.packages.ghc921.ormolu: 0.1.4.1 -> 0.4.0.0
Brings GHC 9.2.1 support, also fix builds of dependencies.
2021-12-03 17:01:29 +01:00
sternenseemann
d5ab00182b haskell.packages.ghc921.quickcheck-instances: 0.3.26.1 -> 0.3.27 2021-12-03 15:44:34 +01:00
sternenseemann
6852fdd5ad haskell.packages.ghc921.hashable: reflect hackage update 2021-12-03 11:17:45 +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
1606d449ff haskell.packages.ghc921.vector-th-unbox: drop now obsolete patch 2021-11-21 21:00:44 +01:00
sternenseemann
6b3cbce94f haskell.packages.ghc921.streaming-commons: drop now obsolete patch 2021-11-21 19:57:54 +01:00
sternenseemann
344bea4e0c haskell.packages.ghc921.aeson_2_0_1_0: drop obsolete override
The hackage version of aeson has been updated from 2.0.1.0 -> 2.0.2.0
and now builds without intervention.
2021-11-20 13:29:29 +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
0b7c86fded haskell.packages.ghc921.hashable-time: 0.2.1 -> 0.3
haskell.packages.ghc921.time-compat: 1.9.5 -> 1.9.6.1

Reflect removal of Eq instance for ZonedTime.
2021-11-14 00:05:22 +01:00
sternenseemann
5debbba1f6 haskell.packages.ghc921.cereal: drop now obsolete patch 2021-11-13 23:50:13 +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
sternenseemann
af0eedf531 haskell.packages.ghc921.invariant: drop now upstreamed patch 2021-11-10 23:15:08 +01:00
Ellie Hermaszewska
15ae25f36c
haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
sternenseemann
1756231ea5 haskell.packages.ghc921.ghc-lib*: use 9.2.1 version by default
hlint still uses the 9.0.1 versions, since its version bounds prevent
the 9.2.1 ones from being used for the time being.
2021-11-06 17:54:11 +01:00
Ellie Hermaszewska
7c182a1002
configuration-ghc-9.2.x.nix: update overrides 2021-11-06 17:27:41 +08:00
Vaibhav Sagar
1278c772da configuration-ghc-9.2.x.nix: aeson_2_0_1_0-related overrides 2021-11-06 17:56:55 +11:00
Vaibhav Sagar
b38d0a8086 configuration-ghc-9.2.x.nix: update overrides 2021-11-06 03:03:44 +11:00
sternenseemann
e469110847 haskell.packages.ghc921.tf-random: work around aarch64 decoding bug
GHC 9.2.1 seemingly has trouble decoding the UTF-8 in tf-random's
haddock comments and cabal file, causing haddock and the build to
fail. Until there's a patch from upstream we can apply, we'll just
disable haddock.
2021-11-01 12:18:45 +01:00
sternenseemann
1d4787f14d haskell.compiler.ghc921: 9.2.0.20210821 -> 9.2.1
https://mail.haskell.org/pipermail/glasgow-haskell-users/2021-October/027082.html

Also fixes a bug affecting the behavior of streaming-commons and text:
https://gitlab.haskell.org/ghc/ghc/-/issues/20526

Co-authored-by: Guillaume Bouchard <guillaum.bouchard@gmail.com>
2021-10-29 21:32:52 +02:00
Vaibhav Sagar
cb611dbc19 configuration-ghc-9.2.x.nix: jailbreak constraints to fix build 2021-10-21 07:59:07 +11:00
Ellie Hermaszewska
1466afbb97
haskell.packages.ghc921.streaming-commons: disable tests
Due to https://github.com/haskell/text/issues/380 and
https://github.com/fpco/streaming-commons/issues/60
2021-10-18 20:29:14 +08:00
sternenseemann
5a1f5fea02 haskell.packages.ghc921.cereal: jailbreak (too strict bound on base) 2021-10-17 16:21:13 +02:00
sternenseemann
7d9a690044 haskell.packages.ghc921.cabal-install: fix build 2021-10-17 16:21:13 +02:00
sternenseemann
c3bfc6a1fa haskell.packages.ghc921.cabal2nix: fix build
This mostly involved making its dependencies build, cabal2nix itself
seems to have no issues with 9.2.1 at the moment.
2021-10-17 16:21:13 +02:00
Vaibhav Sagar
e0ac27c604 haskell.packages.ghc921: make dependencies of ihaskell build
See also https://github.com/gibiansky/IHaskell/pull/1283.
2021-10-11 13:05:04 +02:00
sternenseemann
3fab2e5082 haskell.packages.ghc921.language-haskell-extract: pin patch revision
This should make it more reproducible, today's master has already
diverged from the state it was in when the previous hash was
obtained (for GHC 9.0.1), may need some digging to fix this in the 9.0.x
configuration overlay.
2021-10-11 00:20:19 +02:00
Malte Brandy
aadf1d5f3f
haskellPackages.network_3_1_2_5: Use correct version in all references to this pkg 2021-10-10 20:28:33 +02:00
Jens Nolte
93f38e0a7b haskell.packages.ghc921: use network_3_1_2_2 2021-10-01 15:31:27 +02:00
Jens Nolte
15b78276da haskell.packages.ghc921: re-enable tests previously blocked by 'random' 2021-10-01 15:31:27 +02:00
Jens Nolte
dcff69a840 haskell.packages.ghc921.ChasingBottoms: remove markBrokenVersion 2021-10-01 15:31:27 +02:00
Jens Nolte
3533a38478 haskell.packages.ghc921: use random_1_2_1 2021-10-01 15:31:27 +02:00
Jens Nolte
d7a8501848 haskell.packages.ghc921: jailbreak splitmix
splitmix already has a commit that fixes the version bounds for GHC
9.2.1 but has not had a release since then.
2021-09-29 19:23:50 +02:00
Jens Nolte
41515cc450 haskell.packages.ghc921: use hashable_1_3_3_0
hashable 1.3.0 is broken on GHC 9.2.1. This enables building
unordered-containers.
2021-09-29 03:28:21 +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
a3bc86aba3 haskell.packages.ghc921.base-compat: use 0.12.0 for GHC 9.2 support 2021-09-05 21:43:43 +02:00
Guillaume Bouchard
e0f7b04c2e ghc: add 9.2.1 (rc1) 2021-08-23 12:40:11 +02:00