Commit Graph

135 Commits

Author SHA1 Message Date
maralorn
102aadf228
haskellPackages.hourglass: Fix build and harmonize overrides 2024-06-23 13:36:28 +02:00
Naïm Favier
829ed35978
haskellPackages: fix eval 2024-04-01 11:20:16 +02:00
sternenseemann
c667f803b6 haskell.packages.ghc9{2,4}.primitive-addr: lift bounds over downgrading
The lower base bound is actually not justified and we can just continue
using the default version of primitive addr like we do for GHC < 9.0.

This commit partially reverts 908f4e0789.
2024-03-24 15:30:49 +01:00
Naïm Favier
908f4e0789
haskell.packages.ghc9{2,4}.primitive-addr: pin to 0.1.0.2
Newer versions require too recent a `base` version.
2024-03-20 10:10:33 +01:00
Naïm Favier
f553e52103
darcs: build with GHC 9.6
Undoes 49c1247b0e
2024-03-19 22:21:45 +01:00
sternenseemann
bc1d6b30af haskellPackages.hw-fingertree: unify overrides
The test suite problem is universal. The workaround for it also alleviates the problem with GHC 9.8
2024-03-13 13:25:12 +01:00
Naïm Favier
b9341ddc6f
haskell.packages.ghc94.hw-fingertree: don't check 2024-02-07 11:03:49 +01:00
Naïm Favier
68ee161b90
haskell.packages.ghc94.ghc-exactprint: pin to 1.6.1.3 2024-02-07 10:17:17 +01:00
sorki
e0801b2b7e haskellPackages.lens-family-th: drop doJailbreak
New version released last week that is compatible up to GHC 9.8
https://hackage.haskell.org/package/lens-family-th-0.5.3.1/changelog
2024-01-25 10:09:04 +01:00
sternenseemann
49c1247b0e darcs: build using GHC 9.4
Darcs doesn't support unix >= 2.8.
2024-01-13 17:56:36 +01:00
Janus Troelsen
33f6aca9ae Don't jailbreak servant on GHC 9.4
Now that the common configuration uses a newer version, no need for these jailbreaks.
2024-01-13 15:27:27 +01:00
sternenseemann
c312cd21f6 haskell.packages.*.base-compat-batteries: provide extra compat deps 2024-01-13 15:24:13 +01:00
sternenseemann
1ef945a916 haskell.packages.ghc94.generically: provide missing base-orphans 2024-01-13 15:24:13 +01:00
Rodney Lorrimar
8ecc123cf0 haskell.packages.*.{these,OneTuple}: provide compat pkg where needed
Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2024-01-11 14:49:29 +01:00
sternenseemann
a2dd913a78 haskell.packages.*.indexed-traversable: provide compat lib if needed 2024-01-08 12:18:14 +01:00
sternenseemann
960bbb9963 haskell.packages.ghc94.haskell-language-server: fix eval
A lot of version upgrades now go away, but we need to keep this
machinery, it seems, due to the Cabal-syntax upgrade.
2024-01-08 11:51:33 +01:00
sternenseemann
799b5efeef haskellPackages.fourmolu*: enable tests for all versions
Clean up override for removed version.
2024-01-07 01:44:48 +01:00
sternenseemann
7c8c63e3eb haskellPackages.language-haskell-extract: unify overrides
All versions have this patch that conditionally enables support for
template-haskell >= 2.16, so we can fold them into one.
2024-01-06 18:33:37 +01:00
maralorn
91065f31dd
Merge pull request #275606 from sternenseemann/misc-release-haskell
haskell: fixes for the benefit of the haskell-updates jobset
2024-01-01 14:19:00 +01:00
sternenseemann
21acd3b787 haskell.packages.*.{terminfo,xhtml}: allow builds on Hydra for cross
We have some jobs that hit this case in release-haskell.nix, but they
are not actually created, since we forgot to relax hydraPlatforms…
2023-12-20 10:50:28 +01:00
Naïm Favier
221b8aae16
haskellPackages: fix eval 2023-12-04 23:36:57 +01:00
maralorn
1a4127190e
haskell-language-server: Fix build 2023-11-13 12:13:04 +01:00
Robert Hensing
c71bf5bc06 haskellPackages: Fixup fourmolu minor version in overrides 2023-11-10 18:33:08 +01:00
Robert Hensing
acb51580ca haskellPackages: Fixup ormolu minor version in overrides 2023-11-10 18:26:01 +01:00
Naïm Favier
97ba4facba
haskell-language-server: fix eval 2023-10-24 18:27:59 +02:00
maralorn
b779210e3a
haskellPackages.Cabal-syntax: Update overrides 2023-10-22 12:24:23 +02:00
maralorn
40ce16ef93
haskell-language-server: Fix for all supported GHCs 2023-10-22 01:23:30 +02:00
sternenseemann
9e4a1cf233 haskell.packages.ghc94.ghc-tags: pin to matching version 1.6
haskell.packages.ghc96.ghc-tags: test on Hydra
2023-08-17 00:33:57 +02:00
sternenseemann
a83158c7b9 haskellPackages.mkDerivation: propagate pc deps for GHC >= 9.4
This change essentially amounts to inlining
__CabalEagerPkgConfigWorkaround into haskellPackages.mkDerivation and
applying it automatically for the affected GHC versions. This is a bit
overeager, but the best automatic solution we can come up with for now.

Consequently, we don't need __CabalEagerPkgConfigWorkaround in nixpkgs
anymore nor downstream at least for “standard” haskellPackages builds.
__CabalEagerPkgConfigWorkaround is preserved for now since it is still
necessary if using GHC < 9.4 with Cabal >= 3.10 or cabal-install >= 3.10.

The one thing that may or may not be negatively affected by this change
is ghcWithPackages. I doubt this is a problem in practice though, since
it didn't provide pkg-config in the first place. passthru.env and
shellFor do and work correctly since they rely on mkDerivation.
2023-08-07 13:58:06 +02:00
Rodney Lorrimar
5c24ad1f29 haskell.packages.ghc94.taffybar: apply pkgconfig workaround 2023-07-26 15:15:21 +02:00
sternenseemann
9461adddf1 haskellPackages.hnix: make GHC 9.4 patch unconditional 2023-07-26 13:32:49 +02:00
Dennis Gosnell
6eb0db2b60
Merge pull request #245326 from rvl/haskell-updates-fixes
haskell.packages.ghc96: Build fixes
2023-07-26 12:26:12 +09:00
sternenseemann
0b4156230b haskell.packages.*.ghc-source-gen: shuffle broken flags around
ghc-source-gen being broken is the norm now, as it only supports
GHC < 9.4. To keep tabs on it still (it is required for HLS some of the
time), we add it to release-haskell.nix.
2023-07-25 13:01:20 +02:00
Rodney Lorrimar
e45b99dfb5
haskell.packages.ghc94.hnix: Add patch to fix compile errors 2023-07-25 17:08:43 +08:00
sternenseemann
500b36d057 all-cabal-hashes: 2023-07-19T20:56:38Z -> 2023-07-24T19:28:29Z
The main motivation for this is that the latest versions of hspec-core
and hspec-expectations got out of sync due to an unlucky timing on the
hackage snapshot update. As a consequence, we weren't able to build
cabal-install in some package sets. Additionally, this brings a version
of futhark that can be built with the lsp version we ship.

This commit has been generated by maintainers/scripts/haskell/update-hackage.sh
and maintainers/scripts/haskell/regenerate-hackage-packages.nix.

Additional changes:

* Adapt to new xhtml version (still doesn't match the version normally
  shipped by the respective GHC as a core library).

* Adapt to new versions of hspec* and pandoc
2023-07-25 02:21:57 +02:00
Janus Troelsen
ebcb9db21d haskell.packages.{ghc90x,ghc94x}: Remove unnecessary jailbreaks 2023-07-16 16:23:29 +00:00
maralorn
de6a8565ee
haskellPackages: Add workaround for more haskell-gi packages 2023-07-15 12:10:14 +02:00
maralorn
ace41329a5
haskellPackages.{gtk,gio}: Use established workaround 2023-07-15 12:08:53 +02:00
sternenseemann
72652d46c8 haskell.packages.ghc9{4,6}.th-extras: drop bound on template-haskell 2023-07-11 18:56:49 +02:00
dalpd
5af63b4958 haskell.packages.ghc94.gtk3: add __CabalEagerPkgConfigWorkaround 2023-07-09 12:56:44 +02:00
dalpd
de679473b8 haskell.packages.ghc94.svgcairo: add __CabalEagerPkgConfigWorkaround 2023-07-09 12:55:16 +02:00
sternenseemann
fccf629213 jacinda: patch for alex >= 3.3 2023-07-08 02:13:46 +02:00
Dennis Gosnell
44e687d50f
termonad: get building 2023-07-03 13:56:40 +09:00
Dennis Gosnell
64b2287b70
haskell.packages.ghc94.haskell-gi: add __CabalEagerPkgConfigWorkaround for even more packages 2023-07-03 13:56:22 +09:00
Dennis Gosnell
5afd97510b
haskell.packages.ghc94.haskell-gi: add __CabalEagerPkgConfigWorkaround for more packages 2023-07-03 13:33:30 +09:00
Dennis Gosnell
766d462426
haskell.packages.ghc94.haskell-gi: add __CabalEagerPkgConfigWorkaround for some packages 2023-07-03 13:04:15 +09:00
sternenseemann
5407503fba haskell.packages.*.cabal-install: provide correct versions of deps
Some packages cabal-install needed a certain version range (cabal-install-solver
and resolv) have versions incompatible with these in Stackage LTS 21. We can,
however, easily provide the necessary ones.

Additionally, we clean up some old resolv related overrides that are no longer
necessary or we no longer care about (being able to build cabal-install with
GHC 8.6, namely).
2023-07-02 14:22:21 +02:00
sternenseemann
3ad6e93971 haskell.packages.ghc94.shake-cabal: drop bound
GHC 9.4 can build the latest version of shake-cabal, so let's do that!
The older version is preserved for GHC 9.2 in case we have users that
need to use GHC 9.2 for a transitional time.
2023-07-01 11:54:09 +02:00
sternenseemann
64bee9771e haskell.packages.ghc94: remove remaining manually chosen versions
* `ghc-lib*` is tracked by Stackage LTS 21 and has the matching versions
  for GHC 9.4.

* `primitive` is actually upgraded in LTS 21 which we should follow.

* `th-desugar` and `th-abstraction` are downgraded in LTS 21 which we
  should follow.

* `rope-utf16-splay` matches the manually chosen version.
2023-07-01 11:52:03 +02:00
maralorn
c5e61a111a
haskellPackages: Dump obsolete overrides for hls dependencies 2023-06-30 15:43:15 +02:00