Commit Graph

2547 Commits

Author SHA1 Message Date
sternenseemann
8a54680cf2 haskellPackages.Spock: unbreak
Surprisingly, we didn't have one of Haskell's popular web frameworks
working, but luckily it was quite easy to get working again.
2022-02-21 00:37:08 +01:00
sternenseemann
e117482cd4 haskellPackages.Spock-core: patch for GHC 9.0 support 2022-02-21 00:35:31 +01:00
sternenseemann
b32a80d9ec haskellPackages.ShellCheck: drop obsolete patch
Said issue has been fixed in 0.8.0 which we ship by default now.
2022-02-21 00:04:27 +01:00
sternenseemann
4fdc933fe5 haskellPackages.heterocephalus: patch for GHC 9.0 2022-02-20 23:16:07 +01:00
sternenseemann
97ad10cfcc haskellPackages.system-fileio: allow chell >= 0.5 2022-02-20 22:22:59 +01:00
sternenseemann
a62bfb18cc haskellPackages: clean up accidentally commited override 2022-02-20 21:55:58 +01:00
sternenseemann
c90db6bd1f haskellPackages.graphviz: allow hspec 2.8.5 2022-02-20 21:50:53 +01:00
sternenseemann
a826da2d94 haskellPackages.flat: fix build with GHC 9.0 2022-02-20 21:47:23 +01:00
sternenseemann
2dde9a3002 haskellPackages.HTF: disable test suite incompatible with aeson 2.0 2022-02-20 21:32:06 +01:00
sternenseemann
7e8311311e haskellPackages.protolude: fix build with GHC 9.0 2022-02-20 21:07:42 +01:00
sternenseemann
b68dc5365f haskellPackages.composite-base: patch for template-haskell 2.17 2022-02-20 20:53:38 +01:00
sternenseemann
927809735d haskellPackages.tree-sitter: allow template-haskell 2.17 2022-02-20 20:40:30 +01:00
sternenseemann
a95dcb8778 haskellPackages.polysemy: drop obsolete patch
We are using 1.6.0.0 now, so it's no longer necessary.
2022-02-20 20:27:25 +01:00
sternenseemann
18dc2c6f68 haskellPackages.hledger-lib: drop obsolete patch
This patch has been released as part of 1.24, so we no longer need to
apply it for Stackage Nightly.
2022-02-20 20:21:43 +01:00
sternenseemann
a6feb43e4f Merge remote-tracking branch 'origin/master' into haskell-updates 2022-02-20 20:18:52 +01:00
Calvin Beck
dae6f96a41 haskellPackages.git-annex: Add shellPath for the git-annex-shell.
Git annex provides a login shell for restricted access:
https://git-annex.branchable.com/git-annex-shell/

This was not exposed with `passthru.shellPath` before, so you could
not set a user's shell to `haskellPackages.git-annex` declaratively
before this change.
2022-02-20 20:17:26 +01:00
sternenseemann
35aff43aba haskellPackages.csv: work around ill conceived Setup.hs
This Setup.hs uses Cabal < 3 defaultUserHooks for no apparent reason. We
can simply revert to the default Setup.hs, as was already done for GHC
8.10.
2022-02-20 20:10:56 +01:00
sternenseemann
0e233d7a63 haskellPackages.hnix-store-core: allow algebraic-graphs 0.6 2022-02-20 20:03:57 +01:00
sternenseemann
3f9aa37aa2 haskellPackages.aws: patch for aeson 2.0 compatibility 2022-02-20 17:09:08 +01:00
sternenseemann
d9cbb54b1f haskellPackages.regex-compat-tdfa: fix build with GHC >= 9.0
Seems that GHC 9 got a bit stricter in terms of bang pattern syntax.
2022-02-20 13:46:45 +01:00
sternenseemann
600b5f43f0 haskellPackages.linear-base: work around upstream's broken Setup.hs
With GHC 9.0.2 being the default, it's about time this package worked.
2022-02-20 11:31:31 +01:00
sternenseemann
5c971a179d haskellPackages.fgl*: allow newer hspec 2022-02-19 09:52:22 +01:00
sternenseemann
b80b106e43 haskellPackages.vinyl: fix build with aeson 2.0 2022-02-19 09:52:22 +01:00
sternenseemann
bf8bd354dd haskellPackages.tasty-discover: fix build with tasty-hspec >= 1.2 2022-02-18 18:24:23 +01:00
sternenseemann
36613295ab haskellPackages.hw-*: adjust overrides for Stackage Nightly
While the generic-lens issue is solved, we now need to be more lenient
on the hspec bounds.
2022-02-18 18:24:23 +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
sternenseemann
7b1e2a2277 haskell.packages.ghc8107: pick correct versions of GHC-specific pkgs
Extra acrobatics are required for ghc-bignum which has been removed from
hackage-packages.nix, since it is bundled with GHC starting with 9.0.2.
2022-02-18 18:24:22 +01:00
sternenseemann
8c50dc598f haskellPackages.utc: mark as broken
utc has been unmaintained for a while now (last commit was 2016). We
duct taped it to keep it compiling, but now System.Clock is no longer
importable safely. I think it's time to lay it to rest, as it also has
some severe bugs causing it to produce incorrect results.

It's a bit sad, as I think it would be the better time library. Maybe
I'll try to become the hackage maintainer at some point [1].

[1]: https://github.com/lpeterse/haskell-utc/issues/8#issuecomment-786653135
2022-02-16 10:09:32 +01:00
sternenseemann
f7f47b9b91 haskellPackages.hls-rename-plugin: unbreak 2022-02-16 09:46:12 +01:00
Deniz Alp
e6cde9b47a haskellPackages.numerals: Disable version checks
We could also be using fetchFromGithub but the repo looks stale enough that it
doesn't really matter, plus the upper bounds for almost all the dependencies
doesn't exist anymore.
2022-02-08 13:17:20 +01:00
Malte Brandy
11895db491 haskellPackages.haskell-language-server: Fix dependencies and refactor overrides 2022-02-05 03:12:50 +01:00
sternenseemann
42f558024c haskellPackages.git-annex: adjust src hash for 10.20220127 2022-02-01 19:45:10 +01:00
sternenseemann
b9c74e0661 haskellPackages.nix-tree: reflect brick update 2022-01-31 23:02:46 +01:00
Robert Hensing
a7e9abd515 Revert "fix hercules-ci-agent build"
The fix is not needed anymore.

This reverts commit ef5324801f.
2022-01-26 10:56:15 +01:00
Malte Brandy
e7adab577c haskellPackages: Fix eval by bumping some versioned references 2022-01-24 21:50:48 +01:00
Dennis Gosnell
f84aef8b01
arbtt: jailbreak because of tasty-golden version constraint 2022-01-24 10:11:10 +09:00
sternenseemann
b2f63fbd6f haskellPackages.hnix: drop obsolete patch 2022-01-22 01:19:07 +01:00
sternenseemann
05b0805535 haskellPackages.nix-tree: reflect brick 0.65 -> 0.66 update 2022-01-21 12:08:17 +01:00
Piyush P Kurur
f833757ba1 haskellPackages.raaz: disable parallel building
Parallel builds seems to interfere with backpack type checking.
See: https://gitlab.haskell.org/ghc/ghc/-/issues/17188 for more details.
2022-01-21 12:01:25 +01:00
Artem Pelenitsyn
3ac0d71f3c haskellPackages.hs-speedscope: unbreak 2022-01-18 15:09:17 -05:00
Domen Kožar
41a0b8d86a hnix: patch to fix the build 2022-01-18 15:34:18 +01:00
Domen Kožar
ef5324801f fix hercules-ci-agent build 2022-01-18 10:34:42 +01:00
sternenseemann
af2e1acb5f haskellPackages: drop references to cabal-install-parsers_0_4_2
This package has been removed in a previous commit and the remaining
references cause eval issues.
2022-01-16 22:40:45 +01:00
sternenseemann
7a8250dd3b haskellPackages.haskell-ci{,-unstable}: adjust overrides to >= 0.14
The following pinned packages are no longer needed:

haskellPackages.ShellCheck_0_7_1: drop
haskellPackages.cabal-install-parsers_0_4_2: drop
2022-01-15 22:02:39 +01:00
Ellie Hermaszewska
26cd4c1be1
haskellPackages.haskell-ci-unstable: bump attoparsec dependency 2022-01-14 22:18:12 +08:00
Malte Brandy
e49d3a2ebc haskellPackages.ghcup: Fix build 2022-01-10 00:53:06 +01:00
Malte Brandy
85fb55626b haskellPackages.haskell-language-server: Fix build by pinning dependencies 2022-01-08 23:43:59 +01:00
sternenseemann
dc0704c08f haskellPackages.mfsolve: disable broken test suite 2022-01-07 21:39:39 +01:00
sternenseemann
f371562bb4 haskellPackages.git-annex: adjust src hash for 8.20211231 2022-01-07 21:39:22 +01:00
sternenseemann
fb075fab73 haskellPackages.{ghcWithPackages, ghcWithHoogle}: make overrideable
This is achieved by passing the entire package set to the respective
wrappers and passing the select function as a second attribute. Together
with the new support for callPackage-ing functions this allows for
things like `ghcWithPackages.override { useLLVM = true; } (p: [ … ])`.

To make this possible for `ghcWithHoogle` as well, we need to make the
wrapper a bit more bespoke and inline the hoogle feature as well. The
hoogle wrapper, however, can remain separate and is exposed as
`hoogleWithPackages` additionally, as it can also serve standalone use.
`hoogleLocal` is kept for backwards compatibility (including the old,
suboptimal API), but will inform users about the better alternative via
a warning.
2022-01-06 12:21:45 +01:00