Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haskellPackages: update stackage and hackage #354270

Merged
merged 81 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
ac49606
all-cabal-hashes: 2024-10-25T11:10:52Z -> 2024-11-07T13:09:31Z
sternenseemann Nov 7, 2024
bc61ebc
haskellPackages: stackage LTS 22.39 -> LTS 22.40
sternenseemann Nov 7, 2024
ca7e24d
haskellPackages: regenerate package set based on current config
sternenseemann Nov 7, 2024
7412728
Merge master into haskell-updates
github-actions[bot] Nov 8, 2024
6f8ae8a
haskellPackages: adjust to updates on Hackage
sternenseemann Nov 8, 2024
a28a3dc
haskellPackages.aws-spend-summary add maintainer
danielrolls Nov 9, 2024
5ca2390
Merge branch staging-next into haskell-updates
sternenseemann Nov 9, 2024
0984a89
haskellPackages.haskell-language-server: refactor override
sternenseemann Nov 7, 2024
d769407
haskellPackages.ghcide: apply patch for GHC 9.8.3 compat
sternenseemann Nov 9, 2024
c64e1dc
aws-spend-summary: init
danielrolls Nov 9, 2024
e2c47a2
aws-spend-summary: init (#354805)
maralorn Nov 9, 2024
70eff79
haskellPackages.reflex: remove patches that were upstreamed
alexfmpe Nov 10, 2024
f6671fc
Merge branch staging into haskell-updates
sternenseemann Nov 10, 2024
0295dd7
haskellPackages.dependent-sum-template: build with ghc 9.10
alexfmpe Nov 10, 2024
5ab3591
haskellPackages.dependent-sum-template: remove jailbreak on 9.8
alexfmpe Nov 10, 2024
729d583
Merge master into haskell-updates
github-actions[bot] Nov 11, 2024
e90ef4e
Merge master into haskell-updates
github-actions[bot] Nov 12, 2024
a388042
haskellPackages.reflex: remove patches that were upstreamed (#355022)
maralorn Nov 13, 2024
bba794f
haskellPackages.dependent-sum-template: build with ghc 9.10 (#355052)
maralorn Nov 13, 2024
ec3ec60
haskell.compiler.ghcHEAD: disable --hyperlinked-source on aarch64
sternenseemann Nov 8, 2024
a3775eb
haskellPackages: fix test suites on multiple stream libraries
alexfmpe Nov 15, 2024
a9e4967
haskellPackages.testcontainers: fix build
alexfmpe Nov 16, 2024
ec31910
haskellPackages.beam-postgres: fix build
alexfmpe Nov 16, 2024
56fec67
haskellPackages: cleanup overrides after linked pulls made it to hackage
alexfmpe Nov 17, 2024
fcb5241
aws-spend-summary: add shell completions
danielrolls Nov 16, 2024
0d65aab
haskellPackages: fix test suites on multiple stream libraries (#356314)
maralorn Nov 18, 2024
10b4522
haskellPackages.beam-postgres: fix build (#356378)
maralorn Nov 18, 2024
ae5229b
aws-spend-summary: add shell completions (#356409)
maralorn Nov 18, 2024
593487e
haskellPackages: cleanup overrides after linked pulls made it to hack…
maralorn Nov 18, 2024
dff76f2
Merge branch staging into haskell-updates
sternenseemann Nov 19, 2024
c704711
Revert "git-annex: work around corrupted store paths of dependencies"
sternenseemann Nov 19, 2024
4fb0a4a
haskell.compiler.ghcHEAD: bootstrap using GHC 9.10
sternenseemann Nov 8, 2024
9c2ca55
haskell.packages.ghcHEAD: start compiler config for GHC 9.14
sternenseemann Nov 8, 2024
e845021
Merge master into haskell-updates
github-actions[bot] Nov 20, 2024
3d2ec78
haskellPackages.hailgun: fix build
alexfmpe Nov 22, 2024
5e10479
haskellPackages.servant-auth-server: unbreak
alexfmpe Nov 22, 2024
727f307
haskellPackages.hailgun: fix build (#358192)
maralorn Nov 23, 2024
967e8f8
haskellPackages.servant-auth-server: unbreak (#358193)
maralorn Nov 23, 2024
d51b176
haskellPackages.http-reverse-proxy: disable tests on darwin
alexfmpe Nov 23, 2024
9edf4be
haskellPackages.http-reverse-proxy: disable tests on darwin (#358486)
maralorn Nov 24, 2024
cb555a6
Merge branch staging into haskell-updates
sternenseemann Nov 27, 2024
69006c2
Merge master into haskell-updates
github-actions[bot] Nov 28, 2024
0edc9de
Merge branch staging into haskell-updates
sternenseemann Dec 3, 2024
563126d
Merge master into haskell-updates
github-actions[bot] Dec 4, 2024
ec352ba
Merge master into haskell-updates
github-actions[bot] Dec 5, 2024
696d40e
Merge branch staging-next into haskell-updates
sternenseemann Dec 5, 2024
d5caa1b
Merge master into haskell-updates
github-actions[bot] Dec 6, 2024
95c179f
haskell.compiler.ghc94{5,6}: remove at 9.4.5 and 9.4.6, respectively
sternenseemann Nov 3, 2024
44eac54
Merge branch staging-next into haskell-updates
sternenseemann Dec 7, 2024
06886d3
Merge branch staging-next into haskell-updates
sternenseemann Dec 9, 2024
1ad6091
Merge branch staging-next into haskell-updates
sternenseemann Dec 14, 2024
d97909c
Merge master into haskell-updates
github-actions[bot] Dec 15, 2024
5e274e4
Merge branch staging-next into haskell-updates
sternenseemann Dec 15, 2024
1455b3a
Merge master into haskell-updates
github-actions[bot] Dec 16, 2024
7c9c579
haskellPackages.yi-language: drop obsolete patch
sternenseemann Dec 16, 2024
1aa7d04
Merge branch staging-next into haskell-updates
sternenseemann Dec 16, 2024
bc93387
Merge branch staging-next into haskell-updates
sternenseemann Dec 16, 2024
873b5ff
Merge master into haskell-updates
github-actions[bot] Dec 17, 2024
62f3352
Merge branch staging-next into haskell-updates
sternenseemann Dec 21, 2024
26896ed
jacinda: fix build by providing happy >= 2.1
sternenseemann Dec 21, 2024
c61c0e1
stack: fix build by providing pantry >= 0.10
sternenseemann Dec 21, 2024
7a84c15
git-annex: update sha256 for 10.20241031
sternenseemann Dec 21, 2024
5705c90
darcs: build with tls < 2.0 again
sternenseemann Dec 21, 2024
1a8d021
haskellPackages.espial: allow esqueleto >= 3.5.12
sternenseemann Dec 21, 2024
494cb37
haskellPackages.relocant: add postgresql db to tests
sternenseemann Dec 21, 2024
9c57706
haskellPackages.HsSyck: implicit function decl may not fail build
sternenseemann Dec 21, 2024
155addf
Merge branch staging-next into haskell-updates
sternenseemann Dec 21, 2024
81c6edc
haskell.packages.ghc910.http2: build with http-semantics >= 0.3
sternenseemann Dec 21, 2024
dc09700
haskellPackages.{hd5-lite,bindings-libcddb}: disable gcc 14 -Werror
sternenseemann Dec 21, 2024
5b031a2
Merge master into haskell-updates
github-actions[bot] Dec 22, 2024
fb7fe3b
haskellPackages.termbox-bindings-c: disable implicit fun -Werror
sternenseemann Dec 22, 2024
25e269c
haskellPackages.libxml-sax: disable gcc14 implicit fun decl -Werror
sternenseemann Dec 22, 2024
1ad0cb4
haskellPackages: link upstream issues for GCC 14 workarounds
sternenseemann Dec 22, 2024
b3692b3
haskellPackages.cabal2nix-unstable: 2024-12-04 -> 2024-12-22
sternenseemann Dec 22, 2024
e03044b
Merge branch master into haskell-updates
sternenseemann Dec 23, 2024
5dce243
haskellPackages: mark builds failing on hydra as broken
sternenseemann Dec 23, 2024
8991460
haskellPackages.diagrams-input: downgrade for Stackage LTS compat
sternenseemann Dec 23, 2024
d43d9d1
haskellPackages.unbound-generics: Unmark broken
ozkutuk Dec 22, 2024
4a09157
Merge master into haskell-updates
github-actions[bot] Dec 24, 2024
e840590
haskellPackages.amqp-streamly: don't attempt to run docker tests
sternenseemann Dec 24, 2024
e4307e6
haskellPackages: mark failing builds as broken
sternenseemann Dec 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/languages-frameworks/haskell.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Available compilers are collected under `haskell.compiler`.
Each of those compiler versions has a corresponding attribute set `packages` built with
it. However, the non-standard package sets are not tested regularly and, as a
result, contain fewer working packages. The corresponding package set for GHC
9.4.5 is `haskell.packages.ghc945`. In fact `haskellPackages` (at the time of writing) is just an alias
9.4.8 is `haskell.packages.ghc948`. In fact `haskellPackages` (at the time of writing) is just an alias
for `haskell.packages.ghc966`:

Every package set also re-exposes the GHC used to build its packages as `haskell.packages.*.ghc`.
Expand Down
8 changes: 5 additions & 3 deletions maintainers/scripts/haskell/update-cabal2nix-unstable.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p coreutils curl jq gnused haskellPackages.cabal2nix-unstable -I nixpkgs=.
#! nix-shell -i bash -p coreutils curl jq gnused haskellPackages.cabal2nix-unstable nixfmt-rfc-style -I nixpkgs=.

# Updates cabal2nix-unstable to the latest master of the nixos/cabal2nix repository.
# See regenerate-hackage-packages.sh for details on the purpose of this script.
Expand All @@ -13,5 +13,7 @@ commit="$(jq -r .commit.sha <<< "$head_info")"
# extract commit timestamp and convert to date
date="$(date "--date=$(jq -r .commit.commit.committer.date <<< "$head_info")" +%F)"
# generate nix expression from cabal file, replacing the version with the commit date
echo '# This file defines cabal2nix-unstable, used by maintainers/scripts/haskell/regenerate-hackage-packages.sh.' > pkgs/development/haskell-modules/cabal2nix-unstable.nix
cabal2nix --subpath cabal2nix "https://github.com/NixOS/cabal2nix/archive/$commit.tar.gz" | sed -e 's/version = ".*"/version = "'"unstable-$date"'"/' >> pkgs/development/haskell-modules/cabal2nix-unstable.nix
output=pkgs/development/haskell-modules/cabal2nix-unstable.nix
echo '# This file defines cabal2nix-unstable, used by maintainers/scripts/haskell/regenerate-hackage-packages.sh.' > "$output"
cabal2nix --subpath cabal2nix "https://github.com/NixOS/cabal2nix/archive/$commit.tar.gz" | sed -e 's/version = ".*"/version = "'"unstable-$date"'"/' >> "$output"
nixfmt "$output"
8 changes: 4 additions & 4 deletions pkgs/data/misc/hackage/pin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commit": "0b0765b206e909965c9a65d28e87ebc9aae4d8af",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/0b0765b206e909965c9a65d28e87ebc9aae4d8af.tar.gz",
"sha256": "1rh4jmbj2v4n1lf8cv8qkj5rx10gjib2cmfsdxaf2d3n0c4cr4bn",
"msg": "Update from Hackage at 2024-10-25T11:10:52Z"
"commit": "11b47ef0c5fa2ddecc20a556776ede00e9569867",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/11b47ef0c5fa2ddecc20a556776ede00e9569867.tar.gz",
"sha256": "17k59rkyrz1ax8gx8jps295371p25ksscli9jbp3h4ivfmls5fyd",
"msg": "Update from Hackage at 2024-11-07T13:09:31Z"
}
6 changes: 0 additions & 6 deletions pkgs/development/compilers/ghc/9.4.5.nix

This file was deleted.

6 changes: 0 additions & 6 deletions pkgs/development/compilers/ghc/9.4.6.nix

This file was deleted.

6 changes: 3 additions & 3 deletions pkgs/development/haskell-modules/cabal2nix-unstable.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
}:
mkDerivation {
pname = "cabal2nix";
version = "unstable-2024-12-04";
version = "unstable-2024-12-22";
src = fetchzip {
url = "https://github.com/NixOS/cabal2nix/archive/af1bc25377f7a44e008def494bda77a83578d9be.tar.gz";
sha256 = "0jjsy77vm88x81a5pwq5nhgnbiywjza8qyjsr2kclsdh860m3hmp";
url = "https://github.com/NixOS/cabal2nix/archive/cc5c0285bac65da2be0afd123f1cee94104c25fd.tar.gz";
sha256 = "1jrjgjjg1nkdc4fhk9m8hp5j5zq9bs0lvvk4v3kx6xmvjx93hk8h";
};
postUnpack = "sourceRoot+=/cabal2nix; echo source root reset to $sourceRoot";
isLibrary = true;
Expand Down
130 changes: 39 additions & 91 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ in
with haskellLib;

self: super: {
# enable list-transformer, jailbreaking is necessary until next release >0.13.0: https://github.com/ivanperez-keera/dunai/issues/427
dunai = doJailbreak (addBuildDepend self.list-transformer (enableCabalFlag "list-transformer" super.dunai));
# https://github.com/ivanperez-keera/dunai/issues/427
dunai = addBuildDepend self.list-transformer (enableCabalFlag "list-transformer" super.dunai);

# Make sure that Cabal_* can be built as-is
Cabal_3_10_3_0 = doDistribute (super.Cabal_3_10_3_0.override {
Expand Down Expand Up @@ -166,9 +166,10 @@ self: super: {
# https://github.com/lspitzner/czipwith/issues/5
czipwith = doJailbreak super.czipwith;

# jacinda needs latest version of alex
# jacinda needs latest version of alex and happy
jacinda = super.jacinda.override {
alex = self.alex_3_5_1_0;
happy = self.happy_2_1_2;
};

# 2024-07-09: rhine 1.4.* needs newer monad-schedule than stackage (and is only consumer)
Expand Down Expand Up @@ -274,13 +275,7 @@ self: super: {
# currently, cabal-plan seems to get not much maintenance
cabal-plan = doJailbreak super.cabal-plan;

# test dependency has incorrect upper bound but still supports the newer dependency
# https://github.com/fused-effects/fused-effects/issues/451
# https://github.com/fused-effects/fused-effects/pull/452
fused-effects = doJailbreak super.fused-effects;

# support for transformers >= 0.6
fused-effects-random = doJailbreak super.fused-effects-random;
fused-effects-readline = doJailbreak super.fused-effects-readline;

leveldb-haskell = overrideCabal (drv: {
Expand Down Expand Up @@ -447,7 +442,7 @@ self: super: {
name = "git-annex-${super.git-annex.version}-src";
url = "git://git-annex.branchable.com/";
rev = "refs/tags/" + super.git-annex.version;
sha256 = "sha256-hPZTcl3kWeUnSVYOE1W+FDwR3LYg6gaJfEBIY6VSfxY=";
sha256 = "0lhy8yhlnjw8n9ymn1r6n7z9vgil188asj10s2q5mjb706ip8wmj";
# delete android and Android directories which cause issues on
# darwin (case insensitive directory). Since we don't need them
# during the build process, we can delete it to prevent a hash
Expand Down Expand Up @@ -918,9 +913,6 @@ self: super: {
# https://github.com/nomeata/tasty-expected-failure/issues/21
tasty-expected-failure = dontCheck super.tasty-expected-failure;

# Waiting on https://github.com/RaphaelJ/friday/pull/36
friday = doJailbreak super.friday;

# Won't compile with recent versions of QuickCheck.
inilist = dontCheck super.inilist;

Expand Down Expand Up @@ -1261,17 +1253,11 @@ self: super: {
# 2023-07-14: Restrictive upper bounds: https://github.com/luke-clifton/shh/issues/76
shh = doJailbreak super.shh;

# This package refers to the wrong library (itself in fact!)
vulkan = super.vulkan.override { vulkan = pkgs.vulkan-loader; };

# Compiles some C or C++ source which requires these headers
VulkanMemoryAllocator = addExtraLibrary pkgs.vulkan-headers super.VulkanMemoryAllocator;
# dontCheck can be removed on the next package set bump
vulkan-utils = dontCheck (addExtraLibrary pkgs.vulkan-headers super.vulkan-utils);

# https://github.com/dmwit/encoding/pull/3
encoding = doJailbreak (appendPatch ./patches/encoding-Cabal-2.0.patch super.encoding);

# Work around overspecified constraint on github ==0.18.
github-backup = doJailbreak super.github-backup;

Expand Down Expand Up @@ -1305,13 +1291,14 @@ self: super: {

stack = super.stack.overrideScope (lself: lsuper: {
# stack-3.1.1 requires the latest versions of these libraries
pantry = lself.pantry_0_10_0;
static-bytes = lself.static-bytes_0_1_1; # for pantry_0_10_0
tar = lself.tar_0_6_3_0;

# Upstream stack-3.1.1 is compiled with hpack-0.37.0, and we make sure to
# keep the same hpack version in Nixpkgs.
hpack = self.hpack_0_37_0;
hpack = lself.hpack_0_37_0;

# stack-3.1.1 requires >= 0.10
pantry = lself.pantry_0_10_0;
});

# hslua has tests that break when using musl.
Expand Down Expand Up @@ -1376,13 +1363,9 @@ self: super: {
beam-postgres = lib.pipe super.beam-postgres [
# Requires pg_ctl command during tests
(addTestToolDepends [pkgs.postgresql])
(dontCheckIf (!pkgs.postgresql.doCheck))
(dontCheckIf (!pkgs.postgresql.doCheck || !self.testcontainers.doCheck))
];

# Requires pqueue <1.5 but it works fine with pqueue-1.5.0.0
# https://github.com/haskell-beam/beam/pull/705
beam-migrate = doJailbreak super.beam-migrate;

users-postgresql-simple = addTestToolDepends [
pkgs.postgresql
pkgs.postgresqlTestHook
Expand Down Expand Up @@ -1467,10 +1450,6 @@ self: super: {
# https://github.com/erikd/hjsmin/issues/32
hjsmin = dontCheck super.hjsmin;

# too strict bounds on text in the test suite
# https://github.com/audreyt/string-qq/pull/3
string-qq = doJailbreak super.string-qq;

# Remove for hail > 0.2.0.0
hail = overrideCabal (drv: {
patches = [
Expand Down Expand Up @@ -1933,10 +1912,6 @@ self: super: {

hercules-ci-agent = self.generateOptparseApplicativeCompletions [ "hercules-ci-agent" ] super.hercules-ci-agent;

# Test suite doesn't compile with aeson 2.0
# https://github.com/hercules-ci/hercules-ci-agent/pull/387
hercules-ci-api-agent = dontCheck super.hercules-ci-api-agent;

hercules-ci-cli = lib.pipe super.hercules-ci-cli [
unmarkBroken
(overrideCabal (drv: { hydraPlatforms = super.hercules-ci-cli.meta.platforms; }))
Expand All @@ -1952,9 +1927,6 @@ self: super: {
sha256 = "sha256-kFV6CcwKdMq+qSgyc+eIApnaycq5A++pEEVr2A9xvts=";
}) super.pipes-aeson;

# 2024-09-18: transformers <0.6 https://github.com/Gabriella439/Haskell-Pipes-Extras-Library/pull/19
pipes-extras = assert super.pipes-extras.version == "1.0.15"; doJailbreak super.pipes-extras;

moto-postgresql = appendPatches [
# https://gitlab.com/k0001/moto/-/merge_requests/3
(fetchpatch {
Expand Down Expand Up @@ -2094,10 +2066,6 @@ self: super: {
# https://github.com/noinia/hgeometry/commit/a6abecb1ce4a7fd96b25cc1a5c65cd4257ecde7a#commitcomment-49282301
hgeometry-combinatorial = dontCheck (doJailbreak super.hgeometry-combinatorial);

# Too strict version bounds on ansi-terminal
# https://github.com/kowainik/co-log/pull/218
co-log = doJailbreak super.co-log;

# Test suite has a too strict bound on base
# https://github.com/jswebtools/language-ecmascript/pull/88
# Test suite doesn't compile anymore
Expand All @@ -2111,12 +2079,6 @@ self: super: {
# https://github.com/faylang/fay/pull/474
fay = doJailbreak super.fay;

# Requests latest versions of crypton-connection and tls
darcs = super.darcs.overrideScope (self: super: {
crypton-connection = self.crypton-connection_0_4_1;
tls = self.tls_2_0_6;
});

# Requests version 2 of tls, can be removed once it's the default
diohsc = super.diohsc.overrideScope (self: super: {
tls = self.tls_2_0_6;
Expand All @@ -2125,16 +2087,13 @@ self: super: {
# Need https://github.com/obsidiansystems/cli-extras/pull/12 and more
cli-extras = doJailbreak super.cli-extras;

cli-git = lib.pipe super.cli-git [
doJailbreak
(addBuildTool pkgs.git)
];
cli-git = addBuildTool pkgs.git super.cli-git;

# Need https://github.com/obsidiansystems/cli-nix/pull/5 and more
cli-nix = addBuildTools [
pkgs.nix
pkgs.nix-prefetch-git
] (doJailbreak super.cli-nix);
] super.cli-nix;

nix-thunk = doJailbreak super.nix-thunk;

Expand Down Expand Up @@ -2238,16 +2197,6 @@ self: super: {
ihaskell-display = doJailbreak super.ihaskell-display;
ihaskell-basic = doJailbreak super.ihaskell-basic;

# Fixes too strict version bounds on regex libraries
# Presumably to be removed at the next release
# Test suite doesn't support hspec 2.8
# https://github.com/yi-editor/yi/issues/1124
yi-language = appendPatch (fetchpatch {
url = "https://github.com/yi-editor/yi/commit/0d3bcb5ba4c237d57ce33a3dc39b63c56d890765.patch";
relative = "yi-language";
sha256 = "sha256-AVQLvul3ufxGQyoXud05qauclNanf6kunip0oJ/9lWQ=";
}) (dontCheck super.yi-language);

# Tests need to lookup target triple x86_64-unknown-linux
# https://github.com/llvm-hs/llvm-hs/issues/334
llvm-hs = dontCheckIf (pkgs.stdenv.targetPlatform.system != "x86_64-linux") super.llvm-hs;
Expand Down Expand Up @@ -2460,8 +2409,6 @@ self: super: {
# Invalid CPP in test suite: https://github.com/cdornan/memory-cd/issues/1
memory-cd = dontCheck super.memory-cd;

# https://github.com/haskell/fgl/pull/99
fgl = doJailbreak super.fgl;
fgl-arbitrary = doJailbreak super.fgl-arbitrary;

# raaz-0.3 onwards uses backpack and it does not play nicely with
Expand Down Expand Up @@ -2534,9 +2481,6 @@ self: super: {
# 2023-07-18: https://github.com/srid/ema/issues/156
ema = doJailbreak super.ema;

# 2024-03-02: base <=4.18.0.0 https://github.com/srid/url-slug/pull/2
url-slug = doJailbreak super.url-slug;

glirc = super.glirc.override {
vty = self.vty_6_2;
vty-unix = super.vty-unix.override {
Expand Down Expand Up @@ -2583,7 +2527,6 @@ self: super: {
system-fileio = doJailbreak (dontCheck super.system-fileio);

# Bounds too strict on base and ghc-prim: https://github.com/tibbe/ekg-core/pull/43 (merged); waiting on hackage release
ekg-core = assert super.ekg-core.version == "0.1.1.7"; doJailbreak super.ekg-core;
hasura-ekg-core = doJailbreak super.hasura-ekg-core;

# Test suite doesn't support hspec 2.8
Expand Down Expand Up @@ -2832,7 +2775,6 @@ self: super: {

heist-extra = doJailbreak super.heist-extra; # base <4.18.0.0.0
unionmount = doJailbreak super.unionmount; # base <4.18
path-tree = doJailbreak super.path-tree; # base <4.18 https://github.com/srid/pathtree/pull/1
tailwind = doJailbreak super.tailwind; # base <=4.17.0.0
tagtree = doJailbreak super.tagtree; # base <=4.17 https://github.com/srid/tagtree/issues/1
commonmark-wikilink = doJailbreak super.commonmark-wikilink; # base <4.18.0.0.0
Expand Down Expand Up @@ -2909,18 +2851,6 @@ self: super: {

html-charset = dontCheck super.html-charset;

# true-name-0.1.0.4 has been tagged, but has not been released to Hackage.
# Also, beyond 0.1.0.4 an additional patch is required to make true-name
# compatible with current versions of template-haskell
# https://github.com/liyang/true-name/pull/4
true-name = appendPatch (fetchpatch {
url = "https://github.com/liyang/true-name/compare/0.1.0.3...nuttycom:true-name:update_template_haskell.patch";
hash = "sha256-ZMBXGGc2X5AKXYbqgkLXkg5BhEwyj022E37sUEWahtc=";
}) (overrideCabal (drv: {
revision = null;
editedCabalFile = null;
}) super.true-name);

# 2024-08-15: primitive >=0.9 && <0.10
posix-api = doJailbreak super.posix-api;

Expand Down Expand Up @@ -2980,7 +2910,7 @@ self: super: {
}) super.kmonad;

ghc-syntax-highlighter_0_0_12_0 = super.ghc-syntax-highlighter_0_0_12_0.overrideScope(self: super: {
ghc-lib-parser = self.ghc-lib-parser_9_10_1_20240511;
ghc-lib-parser = self.ghc-lib-parser_9_10_1_20241103;
});

# 2024-03-17: broken
Expand Down Expand Up @@ -3053,6 +2983,10 @@ self: super: {
};
} super.haskell-to-elm;

# Overly strict upper bounds on esqueleto
# https://github.com/jonschoning/espial/issues/61
espial = doJailbreak super.espial;

# https://github.com/dpwright/HaskellNet-SSL/pull/33 Use crypton-connection instead of connection
HaskellNet-SSL = appendPatch (pkgs.fetchpatch {
name = "HaskellNet-SSL-crypton-connection.patch";
Expand All @@ -3063,12 +2997,8 @@ self: super: {
# https://github.com/isovector/type-errors/issues/9
type-errors = dontCheck super.type-errors;

# 2024-05-15: Hackage distribution is missing files needed for tests
# https://github.com/isovector/cornelis/issues/150
cornelis = dontCheck super.cornelis;

lzma = doJailbreak (super.lzma.overrideScope (self: super: {
tasty = super.tasty_1_5;
tasty = super.tasty_1_5_2;
}));

# Fixes build on some platforms: https://github.com/obsidiansystems/commutative-semigroups/pull/18
Expand All @@ -3090,9 +3020,6 @@ self: super: {
# Can possibly be removed once QuickCheck >= 2.15 and tasty >= 1.5
zinza = dontCheck super.zinza;

# Doesn't officially support hedgehog > 1.3 yet: https://github.com/coot/free-algebras/pull/33
free-algebras = doJailbreak super.free-algebras;

pdftotext = overrideCabal (drv: {
postPatch = ''
# Fixes https://todo.sr.ht/~geyaeb/haskell-pdftotext/6
Expand Down Expand Up @@ -3139,4 +3066,25 @@ self: super: {
'';
}) super.quickcheck-state-machine;

testcontainers = lib.pipe super.testcontainers [
dontCheck # Tests require docker
doJailbreak # https://github.com/testcontainers/testcontainers-hs/pull/58
];

# https://bitbucket.org/echo_rm/hailgun/pull-requests/27
hailgun = appendPatches [
(fetchpatch {
url = "https://bitbucket.org/nh2/hailgun/commits/ac2bc2a3003e4b862625862c4565fece01c0cf57/raw";
sha256 = "sha256-MWeK9nzMVP6cQs2GBFkohABgL8iWcT7YzwF+tLOkIjo=";
})
(fetchpatch {
url = "https://bitbucket.org/nh2/hailgun/commits/583daaf87265a7fa67ce5171fe1077e61be9b39c/raw";
sha256 = "sha256-6WITonLoONxZzzkS7EI79LwmwSdkt6TCgvHA2Hwy148=";
})
(fetchpatch {
url = "https://bitbucket.org/nh2/hailgun/commits/b9680b82f6d58f807828c1bbb57e26c7af394501/raw";
sha256 = "sha256-MnOc51tTNg8+HDu1VS2Ct7Mtu0vuuRd3DjzOAOF+t7Q=";
})
] super.hailgun;

} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
Loading
Loading