Commit Graph

223 Commits

Author SHA1 Message Date
Dennis Gosnell
5602fa1733
haskell.packages.ghc884.exceptions: 0.10.5 -> 0.10.6 2022-12-03 17:39:29 -05:00
Dennis Gosnell
f3b87b4075
haskell.packages.ghc88.hashable: add build depend on base-orphans 2022-11-26 02:07:32 -05:00
sternenseemann
2fccb31598 haskell.packages.ghc8{8,10}.base-compat-batteries: add missing dep 2022-11-22 18:12:03 +01:00
sternenseemann
270246ddd9 haskellPackages: adapt to process 1.6.15.0 -> 1.6.16.0 2022-10-27 22:11:24 +02:00
sternenseemann
e7b47a72fe haskell.packages.ghc884.cabal-fmt: drop stale override
It is possible to get it to work again, but a bit annoying, so probably
not worth it. PRs fixing this again (if anyone needs it) will be
accepted.
2022-10-07 00:24:25 +02:00
maralorn
352da0ce31 haskellPackages.hlint: Fix plugin and ghc924 jobs 2022-09-21 06:12:47 +02:00
maralorn
7c2fda45cc haskell-language-server: 1.7.0.0 -> 1.8.0.0 2022-09-21 05:23:07 +02:00
sternenseemann
56a86997c4 haskell.packages.ghc{8107,884}.megaparsec: ignore base lower bound 2022-09-17 13:13:01 +02:00
sternenseemann
8758481cc0 haskell.packages.ghc884.{foundation,basement}: downgrade for GHC 8.8
The 0.0.29 and 0.0.15 releases respectively have dropped support for
GHC < 8.10.
2022-08-30 14:21:06 +02:00
sternenseemann
f6b35ce8e3 haskellPackages.cabal-install-solver: allow building directly
This is a dependency of cabal-install and builds by virtue of its
overrideScope. We also want to make sure it builds independently, so
that it doesn't get marked as broken at the very least.
2022-08-27 10:02:59 +02:00
sternenseemann
4ad395f0c9 cabal-install: adapt to changes for 3.8.1.0
https://github.com/haskell/cabal/blob/cabal-install-v3.8.1.0/release-notes/cabal-install-3.8.1.0.md
2022-08-20 12:48:04 +02:00
maralorn
dd6432a863
Merge pull request #182873 from sternenseemann/terminfo-cross
haskellPackages.terminfo: not a core pkg if cross compiling
2022-07-26 11:25:03 +02:00
Malte Brandy
0620844136 haskellPackages.regex-tdfa: Disable disfunctional tests for older ghcs 2022-07-26 11:15:03 +02:00
sternenseemann
f39aee2d8b haskellPackages.terminfo: not a core pkg if cross compiling
GHC's cross build flavours disable the terminfo package, so it will
never be included if we are cross-compiling – setting it to null thus
breaks all builds depending on the package.

To fix this problem, we use the versioned attribute generated by
hackage2nix, just like we do for xhtml.

Closes #182785.
2022-07-25 23:42:29 +02:00
sternenseemann
f854f80bc7 haskell.packages.ghc884.exceptions: reflect 0.10.5 release 2022-05-12 18:08:30 +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
sternenseemann
caa10b0bee haskell.packages.ghc8{84,107}.universe-base: provide OneTuple
universe-base conditionally depends on OneTuple for GHC < 9.0 which we
need to manually reflect via these overrides.
2022-04-26 19:22:43 +02:00
Malte Brandy
3fa9ae18a0 haskell.packages.ghc884.haskell-language-server: enable hlint and fourmolu plugins 2022-04-14 13:00:43 +02:00
Robert Hensing
517cb71b02 haskellPackages.inline-c-cpp: Fix tests on darwin 2022-04-01 16:56:31 +02:00
sternenseemann
229609de16 haskellPackages.cabal-install-parsers: provide Cabal 3.6 2022-03-26 22:39:42 +01:00
sternenseemann
c1f8889beb haskell.packages.ghc{884,8017}.mysql-simple: provide blaze-textual
The package shims blaze-textual for GHC >= 9.0 and makes its inclusion
conditional, causing hackage2nix to miss this dependency.
2022-03-25 14:20:55 +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
1aa02b5c38 haskell.packages.ghc8{107,84}.OneTuple: provide hashable
We need to manually simulate the following conditional in the cabal
file:

    if impl(ghc >=9.0)
      build-depends: ghc-prim

    else
      build-depends: hashable >=1.3.5.0 && <1.5
2022-02-25 21:15:57 +01:00
Malte Brandy
77b623d5a2 haskell-language-server: Fix build 2022-02-21 00:59:59 +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
mrkun
4df9292e9b haskellPackages.mime-string: disable optimization for older compilers 2021-11-20 02:13:42 +03:00
Ellie Hermaszewska
15ae25f36c
haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
sternenseemann
2fb806dba0 haskell.packages.*: reflect Cabal minor version update 2021-10-12 12:51:49 +02:00
(cdep)illabout
749cb69b24
cabal-install: get building on ghc884, ghc8107, and ghc901 2021-09-11 21:53:44 +09:00
(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