Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
25affda
haskellPackages: stackage LTS 22.29 -> LTS 22.31
maralorn Jul 31, 2024
89004f5
all-cabal-hashes: 2024-07-14T21:17:20Z -> 2024-07-31T18:11:52Z
maralorn Jul 31, 2024
7ab80da
haskellPackages: regenerate package set based on current config
maralorn Jul 31, 2024
c413c8e
Merge master into haskell-updates
github-actions[bot] Aug 1, 2024
d3651f9
Merge master into haskell-updates
github-actions[bot] Aug 2, 2024
d254cf1
Merge master into haskell-updates
github-actions[bot] Aug 3, 2024
f59c644
haskellPackages.patch: fix build on js backend
ymeister Aug 3, 2024
f2f3dea
haskellPackages.gi-gtk: fix build on ghc > 9.6
ymeister Aug 3, 2024
0689847
Merge master into haskell-updates
github-actions[bot] Aug 4, 2024
c20da5d
haskellPackages.os-string: mark os-string as GHC-9.10 Core library
ymeister Aug 4, 2024
a76bd42
Merge master into haskell-updates
github-actions[bot] Aug 5, 2024
cda4664
Merge master into haskell-updates
github-actions[bot] Aug 6, 2024
f0f9aaa
Merge master into haskell-updates
github-actions[bot] Aug 7, 2024
a503b3a
haskellPackages.dunai: unbreak
aforemny Aug 5, 2024
2b9cdb8
Merge master into haskell-updates
github-actions[bot] Aug 8, 2024
2c8f504
haskellPackages: disable tests on aarch64-darwin that require postgresql
alexfmpe Aug 8, 2024
87acb44
Merge master into haskell-updates
github-actions[bot] Aug 9, 2024
5397491
haskellPackages.bytezap: unbreak
raehik Aug 9, 2024
4c3e46c
haskellPackages: edit raehik package maintainership
raehik Aug 9, 2024
a4b6538
haskellPackages.tasty: Drop overrides for 1.5.1
rvl Aug 9, 2024
4bb4347
haskellPackages.monad-schedule: Fix eval
rvl Aug 9, 2024
be71573
haskellPackages.doctest: Skip failing cabal-doctest tests
rvl Aug 9, 2024
cc49d6c
haskellPackages: regenerate package set based on current config
rvl Aug 9, 2024
59243f9
Merge master into haskell-updates
github-actions[bot] Aug 10, 2024
8d7da6a
Merge master into haskell-updates
github-actions[bot] Aug 11, 2024
883e127
Merge master into haskell-updates
github-actions[bot] Aug 12, 2024
3c76b89
Merge pull request #333379 from rvl/haskell-updates-doctest
cdepillabout Aug 13, 2024
8c78bd2
Merge master into haskell-updates
github-actions[bot] Aug 13, 2024
67fd96e
haskellPackages.feedback: Fix build
rvl Aug 9, 2024
eecbc8d
haskellPackages.xnobar: Disable on darwin
maralorn Aug 13, 2024
729a326
Merge pull request #332093 from ymeister/haskell-updates@gi-gtk
maralorn Aug 13, 2024
cbb8a57
Merge pull request #333386 from rvl/haskell-updates-feedback
maralorn Aug 13, 2024
a1dee4e
Merge branch 'raehik/unbreak-bytezap' into haskell-updates
maralorn Aug 13, 2024
aca8716
haskellPackages: regenerate package set based on current config
maralorn Aug 13, 2024
e8561ed
Merge pull request #333316 from alexfmpe/haskell-postgresql-aarch-darwin
maralorn Aug 13, 2024
8614bc2
Merge pull request #332090 from ymeister/haskell-updates@patch
maralorn Aug 13, 2024
3ab9697
Merge pull request #332123 from ymeister/haskell-updates@os-string
maralorn Aug 13, 2024
520e744
Merge master into haskell-updates
github-actions[bot] Aug 14, 2024
7364d71
git-annex: update sha256 for 10.20240731
sternenseemann Aug 14, 2024
e8a5804
Merge master into haskell-updates
github-actions[bot] Aug 15, 2024
2546a4c
stack: get latest version building
cdepillabout Aug 15, 2024
4df65bd
haskellPackages.avro: drop unnecessary patch
eldritch-cookie Aug 15, 2024
9a0fdb1
haskellPackages.stan: remove override
alexfmpe Aug 15, 2024
a367106
haskellPackages.hakyll-filestore: remove override
alexfmpe Aug 15, 2024
f7de034
haskellPackages.streamly-bytestring: remove override
alexfmpe Aug 15, 2024
9649c7e
haskellPackages.blucontrol: remove override
alexfmpe Aug 15, 2024
cfc8047
haskellPackages.bench: remove override
alexfmpe Aug 15, 2024
473989a
haskellPackages.comfort-blas: remove override
alexfmpe Aug 15, 2024
d1c7660
haskellPackages.storablevector: remove override
alexfmpe Aug 15, 2024
c11def2
haskellPackages.shh-extras: remove override
alexfmpe Aug 15, 2024
afc10f2
Merge master into haskell-updates
github-actions[bot] Aug 16, 2024
8b9a958
haskellPackages.diagrams-gtk: remove override
alexfmpe Aug 15, 2024
468486a
haskellPackages.haskell-ci: remove jailbreak
alexfmpe Aug 15, 2024
352af3c
haskellPackages.math-functions: remove override
alexfmpe Jul 20, 2024
7431146
haskellPackages.vector-hashtables: remove override
alexfmpe Jul 20, 2024
c6aa022
haskellPackages.posix-api: jailbreak to unbreak
alexfmpe Aug 15, 2024
a3c53d2
Merge pull request #334977 from alexfmpe/posix-api
maralorn Aug 16, 2024
7ab199a
haskellPackages: fix formatting
maralorn Aug 16, 2024
79c9a2a
Merge pull request #334976 from alexfmpe/old-overrides
maralorn Aug 16, 2024
da5cd80
Merge pull request #335094 from eldritch-cookie/drop-avro-patch
maralorn Aug 16, 2024
f200a78
Merge master into haskell-updates
github-actions[bot] Aug 17, 2024
5580883
haskellPackages.hnix-store-remote: restrict to 0.6.*
sternenseemann Aug 17, 2024
0499c81
Merge master into haskell-updates
github-actions[bot] Aug 18, 2024
b137936
haskellPackages.quickspec: Unmark broken
rvl Aug 18, 2024
cd3a7f5
haskellPackages.quickcheck-state-machine: Fix build failure in tests
rvl Aug 18, 2024
f18afac
haskellPackages: regenerate package set based on current config
rvl Aug 18, 2024
0f0aff2
Merge master into haskell-updates
github-actions[bot] Aug 19, 2024
8cb4fc4
Merge pull request #335548 from rvl/haskell-updates-quickspec
maralorn Aug 19, 2024
0d08913
haskell.packages.ghc92.haskell-language-server: Fix build by disablin…
maralorn Aug 19, 2024
0d8a0ce
haskellPackages: Fix eval errors
maralorn Aug 19, 2024
f3583fa
Merge branch 'master' into haskell-updates
maralorn Aug 19, 2024
dc4ab29
haskellPackages: mark builds failing on hydra as broken
maralorn Aug 19, 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
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": "f3a61ad1c6b9c94ca546997f1170d6a6d58ef8ae",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/f3a61ad1c6b9c94ca546997f1170d6a6d58ef8ae.tar.gz",
"sha256": "10nkz8i426w1wji7c91irnl188m4alpjdn1d545w2ifmgpvsgp2f",
"msg": "Update from Hackage at 2024-07-14T21:17:20Z"
"commit": "32e512a9cd79f962a8023e1c8c1a4db17d9b2fd8",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/32e512a9cd79f962a8023e1c8c1a4db17d9b2fd8.tar.gz",
"sha256": "1wiy2fsz8a1gx6mbzq8ns6wvns6kh2aigxczw0f9q7qbkd22kdil",
"msg": "Update from Hackage at 2024-07-31T18:11:52Z"
}
122 changes: 45 additions & 77 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ 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));

# Make sure that Cabal 3.10.* can be built as-is
Cabal_3_10_3_0 = doDistribute (super.Cabal_3_10_3_0.override ({
Cabal-syntax = self.Cabal-syntax_3_10_3_0;
Expand Down Expand Up @@ -145,12 +148,6 @@ self: super: {
];
}) super.vector;

# Almost guaranteed failure due to floating point imprecision with QuickCheck-2.14.3
# https://github.com/haskell/math-functions/issues/73
math-functions = overrideCabal (drv: {
testFlags = drv.testFlags or [] ++ [ "-p" "! /Kahan.t_sum_shifted/" ];
}) super.math-functions;

# Too strict bounds on base
# https://github.com/lspitzner/butcher/issues/7#issuecomment-1681394943
butcher = doJailbreak super.butcher;
Expand All @@ -166,7 +163,7 @@ self: super: {
};

# 2024-07-09: rhine 1.4.* needs newer monad-schedule than stackage (and is only consumer)
monad-schedule = assert super.monad-schedule.version == "0.1.2.2"; doDistribute self.monad-schedule_0_2;
monad-schedule = assert super.monad-schedule.version == "0.1.2.2"; doDistribute self.monad-schedule_0_2_0_1;

aeson =
# aeson's test suite includes some tests with big numbers that fail on 32bit
Expand Down Expand Up @@ -412,7 +409,7 @@ self: super: {
name = "git-annex-${super.git-annex.version}-src";
url = "git://git-annex.branchable.com/";
rev = "refs/tags/" + super.git-annex.version;
hash = "sha256-/NbwuVTx517DGyr2k1AdQqJaVEc8lrtuO9EliiCZdps=";
sha256 = "1y25ac341d77dkb94qny3h5id2xlpqh9hrjr0s6pp66xghbcvzn4";
# 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 @@ -575,9 +572,6 @@ self: super: {
HerbiePlugin = dontCheck super.HerbiePlugin;
wai-cors = dontCheck super.wai-cors;

# 2022-02-14: Strict upper bound: https://github.com/psibi/streamly-bytestring/issues/30
streamly-bytestring = doJailbreak super.streamly-bytestring;

# 2024-05-18: Upstream tests against a different pandoc version
pandoc-crossref = dontCheck super.pandoc-crossref;

Expand All @@ -587,9 +581,6 @@ self: super: {
# 2022-01-29: Tests require package to be in ghc-db.
aeson-schemas = dontCheck super.aeson-schemas;

# 2023-04-20: Restrictive bytestring bound in tests.
storablevector = doJailbreak super.storablevector;

matterhorn = doJailbreak super.matterhorn;

# Too strict bounds on transformers and resourcet
Expand Down Expand Up @@ -782,13 +773,6 @@ self: super: {
xsd = dontCheck super.xsd;
zip-archive = dontCheck super.zip-archive; # https://github.com/jgm/zip-archive/issues/57

# 2023-01-11: Too strict bounds on optparse-applicative
# https://github.com/Gabriella439/bench/issues/49
bench = doJailbreak super.bench;

# 2023-06-26: Test failure: https://hydra.nixos.org/build/224869905
comfort-blas = dontCheck super.comfort-blas;

# These test suites run for ages, even on a fast machine. This is nuts.
Random123 = dontCheck super.Random123;
systemd = dontCheck super.systemd;
Expand Down Expand Up @@ -1253,7 +1237,6 @@ self: super: {

# 2023-07-14: Restrictive upper bounds: https://github.com/luke-clifton/shh/issues/76
shh = doJailbreak super.shh;
shh-extras = doJailbreak super.shh-extras;

# This package refers to the wrong library (itself in fact!)
vulkan = super.vulkan.override { vulkan = pkgs.vulkan-loader; };
Expand Down Expand Up @@ -1297,9 +1280,15 @@ self: super: {
'';
}) super.hpack;

# Upstream stack-0.15.7 is compiled with hpack-0.36.0, and we make sure to
# keep the same hpack version in Nixpkgs.
stack = super.stack.override { hpack = self.hpack_0_36_0; };
stack = super.stack.overrideScope (lself: lsuper: {
# stack-3.1.1 requires the latest versions of these libraries
pantry = lself.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;
});

# hslua has tests that break when using musl.
# https://github.com/hslua/hslua/issues/106
Expand Down Expand Up @@ -1507,8 +1496,6 @@ self: super: {
# https://bitbucket.org/rvlm/hakyll-contrib-hyphenation/src/master/
# Therefore we jailbreak it.
hakyll-contrib-hyphenation = doJailbreak super.hakyll-contrib-hyphenation;
# 2021-10-04: too strict upper bound on Hakyll
hakyll-filestore = doJailbreak super.hakyll-filestore;

# The test suite depends on an impure cabal-install installation in
# $HOME, which we don't have in our build sandbox.
Expand Down Expand Up @@ -1885,11 +1872,6 @@ self: super: {
# 2024-03-02: vty <5.39 - https://github.com/reflex-frp/reflex-ghci/pull/33
reflex-ghci = assert super.reflex-ghci.version == "0.2.0.1"; doJailbreak super.reflex-ghci;

# 2020-11-19: jailbreaking because of pretty-simple bound out of date
# https://github.com/kowainik/stan/issues/408
# Tests disabled because of: https://github.com/kowainik/stan/issues/409
stan = doJailbreak (dontCheck super.stan);

# Due to tests restricting base in 0.8.0.0 release
http-media = doJailbreak super.http-media;

Expand Down Expand Up @@ -2277,12 +2259,11 @@ self: super: {
};

# 2023-04-09: haskell-ci needs Cabal-syntax 3.10
# 2023-07-03: allow lattices-2.2, waiting on https://github.com/haskell-CI/haskell-ci/pull/664
# 2024-03-21: pins specific version of ShellCheck
haskell-ci = doJailbreak (super.haskell-ci.overrideScope (self: super: {
haskell-ci = super.haskell-ci.overrideScope (self: super: {
Cabal-syntax = self.Cabal-syntax_3_10_3_0;
ShellCheck = self.ShellCheck_0_9_0;
}));
});

# ShellCheck < 0.10.0 needs to be adjusted for changes in fgl >= 5.8
# https://github.com/koalaman/shellcheck/issues/2677
Expand Down Expand Up @@ -2375,10 +2356,6 @@ self: super: {
# 2021-08-18: streamly-posix was released with hspec 2.8.2, but it works with older versions too.
streamly-posix = doJailbreak super.streamly-posix;

# 2022-08-30 Too strict bounds on finite-typelits
# https://github.com/jumper149/blucontrol/issues/1
blucontrol = doJailbreak super.blucontrol;

# Fix from https://github.com/brendanhay/gogol/pull/144 which has seen no release
# Can't use fetchpatch as it required tweaking the line endings as the .cabal
# file revision on hackage was gifted CRLF line endings
Expand Down Expand Up @@ -2637,10 +2614,6 @@ self: super: {
# has been resolved.
lucid-htmx = doJailbreak super.lucid-htmx;

# Too strict bounds on hspec
# https://github.com/klapaucius/vector-hashtables/issues/11
vector-hashtables = doJailbreak super.vector-hashtables;

# doctest-parallel is broken with v1-style cabal-install / Setup.hs
# https://github.com/martijnbastiaan/doctest-parallel/issues/22
doctest-parallel = dontCheck super.doctest-parallel;
Expand Down Expand Up @@ -2857,27 +2830,6 @@ self: super: {
# https://github.com/brandonchinn178/tasty-autocollect/issues/54
tasty-autocollect = dontCheck super.tasty-autocollect;

# https://github.com/UnkindPartition/tasty/pull/420#issuecomment-2187406691
# Note also 1.5.1 was faux-revoked because of this. See
# https://github.com/UnkindPartition/tasty/issues/426
tasty_1_5_1 = lib.pipe super.tasty_1_5_1 [
(appendPatch
(fetchpatch2 {
name = "tasty-1.5.1-revert-cr-sufficient-to-clear-line";
url = "https://github.com/UnkindPartition/tasty/commit/b152a0bc63166a4592e1f3639ef09e78a43f2b57.diff";
hash = "sha256-tlFCyEnIp8geNlJSkye32tUOaPMwkdqLHBMzpAwSDVQ=";
revert = true;
stripLen = 1;
})
)
(overrideCabal
(drv: assert drv.revision == "1"; {
revision = null;
editedCabalFile = null;
})
)
];

postgrest = lib.pipe super.postgrest [
# 2023-12-20: New version needs extra dependencies
(addBuildDepends [ self.extra self.fuzzyset_0_2_4 self.cache self.timeit ])
Expand Down Expand Up @@ -2917,17 +2869,13 @@ self: super: {
# https://github.com/NixOS/nixpkgs/pull/220972#issuecomment-1484017192
ffmpeg-light = super.ffmpeg-light.override { ffmpeg = pkgs.ffmpeg_4; };

# posix-api has had broken tests since 2020 (until at least 2023-01-11)
# raehik has a fix pending: https://github.com/andrewthad/posix-api/pull/14
posix-api = dontCheck super.posix-api;
# 2024-08-15: primitive >=0.9 && <0.10
posix-api = doJailbreak super.posix-api;

# bytestring <0.11.0, optparse-applicative <0.13.0
# https://github.com/kseo/sfnt2woff/issues/1
sfnt2woff = doJailbreak super.sfnt2woff;

# 2023-03-05: restrictive bounds on base https://github.com/diagrams/diagrams-gtk/issues/11
diagrams-gtk = doJailbreak super.diagrams-gtk;

# libfuse3 fails to mount fuse file systems within the build environment
libfuse3 = dontCheck super.libfuse3;

Expand Down Expand Up @@ -3082,7 +3030,7 @@ self: super: {
cornelis = dontCheck super.cornelis;

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

# Fixes build on some platforms: https://github.com/obsidiansystems/commutative-semigroups/pull/18
Expand All @@ -3107,12 +3055,6 @@ self: super: {
# Doesn't officially support hedgehog > 1.3 yet: https://github.com/coot/free-algebras/pull/33
free-algebras = doJailbreak super.free-algebras;

# https://github.com/haskell-works/avro/pull/195
avro = appendPatch (pkgs.fetchpatch {
url = "https://github.com/haskell-works/avro/commit/5f6eb1ec8c8bac325d84b44757d4e2f8608d6939.patch";
sha256 = "sha256-1QEaoO8BTdvfFzMrybrf0v7cK0NbYrWOj4Mqexr+ylc=";
}) super.avro;

pdftotext = overrideCabal (drv: {
postPatch = ''
# Fixes https://todo.sr.ht/~geyaeb/haskell-pdftotext/6
Expand All @@ -3133,4 +3075,30 @@ self: super: {
doJailbreak
];

# 2024-08-09: Apply optparse-applicative compat fix from master branch
# https://github.com/NorfairKing/feedback/commit/9368468934a4d8bd94709bdcb1116210b162bab8
feedback = overrideCabal (drv: assert drv.version == "0.1.0.5"; {
postPatch = drv.postPatch or "" + ''
substituteInPlace src/Feedback/Loop/OptParse.hs \
--replace-fail '(uncurry loopConfigLine)' '(pure . uncurry loopConfigLine)'
'';
}) (doDistribute (super.feedback.overrideScope (self: super: {
# 2024-08-09: The stackage versions of safe-coloured-text* are old and broken
safe-coloured-text = unmarkBroken self.safe-coloured-text_0_3_0_2;
safe-coloured-text-gen = unmarkBroken self.safe-coloured-text-gen_0_0_0_3;
safe-coloured-text-layout = unmarkBroken self.safe-coloured-text-layout_0_2_0_0;
safe-coloured-text-layout-gen = unmarkBroken self.safe-coloured-text-layout-gen_0_0_0_1;
safe-coloured-text-terminfo = unmarkBroken self.safe-coloured-text-terminfo_0_3_0_0;
})));

quickcheck-state-machine = overrideCabal (drv: {
# 2024-08-18: Remove a test which fails to build due to API changes.
# This is fixed in quickcheck-state-machine-0.10.0.
postPatch = assert drv.version == "0.8.0"; ''
sed -i '/SQLite/d' quickcheck-state-machine.cabal
sed -i -e '/import.*SQLite/d' -e 's/\[.*prop_parallel_sqlite/[/' test/Spec.hs
${drv.postPatch or ""}
'';
}) super.quickcheck-state-machine;

} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
19 changes: 19 additions & 0 deletions pkgs/development/haskell-modules/configuration-darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,25 @@ self: super: ({
# https://github.com/NixOS/nixpkgs/issues/149692
Agda = disableCabalFlag "optimise-heavily" super.Agda;

# https://github.com/NixOS/nixpkgs/issues/198495
eventsourcing-postgresql = dontCheck super.eventsourcing-postgresql;
gargoyle-postgresql-connect = dontCheck super.gargoyle-postgresql-connect;
hs-opentelemetry-instrumentation-postgresql-simple = dontCheck super.hs-opentelemetry-instrumentation-postgresql-simple;
moto-postgresql = dontCheck super.moto-postgresql;
persistent-postgresql = dontCheck super.persistent-postgresql;
pipes-postgresql-simple = dontCheck super.pipes-postgresql-simple;
postgresql-connector = dontCheck super.postgresql-connector;
postgresql-migration = dontCheck super.postgresql-migration;
postgresql-schema = dontCheck super.postgresql-schema;
postgresql-simple = dontCheck super.postgresql-simple;
postgresql-simple-interpolate = dontCheck super.postgresql-simple-interpolate;
postgresql-simple-migration = dontCheck super.postgresql-simple-migration;
postgresql-simple-url = dontCheck super.postgresql-simple-url;
postgresql-transactional = dontCheck super.postgresql-transactional;
postgrest = dontCheck super.postgrest;
rivet-adaptor-postgresql = dontCheck super.rivet-adaptor-postgresql;
tmp-proc-postgres = dontCheck super.tmp-proc-postgres;

} // lib.optionalAttrs pkgs.stdenv.isx86_64 { # x86_64-darwin

# tests appear to be failing to link or something:
Expand Down
6 changes: 6 additions & 0 deletions pkgs/development/haskell-modules/configuration-ghc-9.10.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

let
inherit (pkgs) lib;

disableParallelBuilding = haskellLib.overrideCabal (drv: { enableParallelBuilding = false; });
in

self: super: {
Expand Down Expand Up @@ -34,6 +36,7 @@ self: super: {
hpc = null;
integer-gmp = null;
mtl = null;
os-string = null;
parsec = null;
pretty = null;
process = null;
Expand All @@ -49,4 +52,7 @@ self: super: {
transformers = null;
unix = null;
xhtml = null;

# https://gitlab.haskell.org/ghc/ghc/-/issues/23392
gi-gtk = disableParallelBuilding super.gi-gtk;
}
5 changes: 5 additions & 0 deletions pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

let
inherit (pkgs) lib;

disableParallelBuilding = haskellLib.overrideCabal (drv: { enableParallelBuilding = false; });
in

self: super: {
Expand Down Expand Up @@ -50,4 +52,7 @@ self: super: {
transformers = null;
unix = null;
xhtml = null;

# https://gitlab.haskell.org/ghc/ghc/-/issues/23392
gi-gtk = disableParallelBuilding super.gi-gtk;
}
2 changes: 2 additions & 0 deletions pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ self: super: {
haskell-language-server = lib.pipe super.haskell-language-server [
(disableCabalFlag "fourmolu")
(disableCabalFlag "ormolu")
(disableCabalFlag "cabal")
(disableCabalFlag "stylishHaskell")
(d: d.override {
ormolu = null;
fourmolu = null;
stan = null;
})
];

Expand Down
5 changes: 5 additions & 0 deletions pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ with haskellLib;

let
inherit (pkgs.stdenv.hostPlatform) isDarwin;

disableParallelBuilding = haskellLib.overrideCabal (drv: { enableParallelBuilding = false; });
in

self: super: {
Expand Down Expand Up @@ -144,4 +146,7 @@ self: super: {
sha256 = "sha256-umjwgdSKebJdRrXjwHhsi8HBqotx1vFibY9ttLkyT/0=";
}) super.reflex;

# https://gitlab.haskell.org/ghc/ghc/-/issues/23392
gi-gtk = disableParallelBuilding super.gi-gtk;

}
13 changes: 13 additions & 0 deletions pkgs/development/haskell-modules/configuration-ghcjs-9.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

with haskellLib;

let
disableParallelBuilding = overrideCabal (drv: {
enableParallelBuilding = false;
});
in

# cabal2nix doesn't properly add dependencies conditional on arch(javascript)

(self: super: {
Expand All @@ -24,4 +30,11 @@ with haskellLib;
reflex-dom = super.reflex-dom.override (drv: {
jsaddle-webkit2gtk = null;
});
patch = pkgs.lib.pipe super.patch (
with haskellLib;
[
disableParallelBuilding # https://gitlab.haskell.org/ghc/ghc/-/issues/25083#note_578275
doJailbreak
]
);
})
Loading