Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
b933add
haskellPackages: stackage LTS 19.17 -> LTS 19.18
cdepillabout Aug 9, 2022
898ef5e
all-cabal-hashes: 2022-08-07T14:05:30Z -> 2022-08-09T06:14:32Z
cdepillabout Aug 9, 2022
1b711bc
haskellPackages: regenerate package set based on current config
cdepillabout Aug 9, 2022
dafcaa2
Merge master into haskell-updates
github-actions[bot] Aug 10, 2022
323f8b5
haskellPackages: remove brick-related overrides
cdepillabout Aug 10, 2022
7c8cdf1
haskellPackages: sort extra-packages
cdepillabout Aug 10, 2022
389a9b2
haskellPackages: add ghc-9.2 versions for ghc-lib-parser and ghc-lib-…
cdepillabout Aug 10, 2022
a0bc125
haskellPackages.ghc-lib_9_2_4_20220729: generate for ghc-9.2
cdepillabout Aug 10, 2022
c0804e6
Merge master into haskell-updates
github-actions[bot] Aug 11, 2022
9b94af3
Merge master into haskell-updates
github-actions[bot] Aug 12, 2022
513498f
Merge master into haskell-updates
github-actions[bot] Aug 13, 2022
90eb3d4
haskellPackages: unbreak nvim-hs-contrib
phijor Aug 6, 2022
7528dfe
Merge pull request #186458 from phijor/haskellPackages/nvim-hs-contri…
cdepillabout Aug 13, 2022
d8bddf3
matterhorn: build with brick 0.70.1
sternenseemann Aug 13, 2022
44c848b
haskell.compilers.ghc941: 9.4.0.20220721 -> 9.4.1
maralorn Aug 8, 2022
d0706da
haskell.compiler.ghc941: bootstrap using (binary) GHC 8.10.7
sternenseemann Aug 13, 2022
9ba6250
Merge master into haskell-updates
github-actions[bot] Aug 14, 2022
ddada35
haskell.compiler.ghc941: bootstrap using GHC 9.0.2 on arm
sternenseemann Aug 14, 2022
071fb34
Merge master into haskell-updates
github-actions[bot] Aug 15, 2022
1f54656
haskellPackages: mark builds failing on hydra as broken
cdepillabout Aug 15, 2022
7fdb280
ihaskell: don't build on hydra
cdepillabout Aug 15, 2022
c096937
Merge master into haskell-updates
github-actions[bot] Aug 16, 2022
8df3a34
Merge master into haskell-updates
github-actions[bot] Aug 17, 2022
52a5816
Merge master into haskell-updates
github-actions[bot] Aug 18, 2022
60f7d27
hedgewars: mark broken
cdepillabout Aug 18, 2022
dc59428
haskell-language-server: fix with ghc-lib >= 9.0 and ghc <= 8.10.7
smatting Aug 18, 2022
f5cc833
Merge pull request #187284 from wireapp/hls-hlint-plugin-workaround
cdepillabout Aug 18, 2022
1d12f3c
Merge master into haskell-updates
github-actions[bot] Aug 19, 2022
f303875
hedgewars: don't build on hydra
cdepillabout Aug 19, 2022
97c5787
haskellPackages: mark builds failing on hydra as broken
cdepillabout Aug 19, 2022
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": "7a6596613e0d6549f329cb3c2862b035667e0fc3",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/7a6596613e0d6549f329cb3c2862b035667e0fc3.tar.gz",
"sha256": "07sm18dn6lsi8xjhfhm7dyw62lpln9wyhafkigc6f3xaqblz3ap4",
"msg": "Update from Hackage at 2022-08-07T14:05:30Z"
"commit": "eb862a59277fd86ad3138e9f25e793f0fe0364ba",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/eb862a59277fd86ad3138e9f25e793f0fe0364ba.tar.gz",
"sha256": "10agwlxzp76lnp4d6zncvjgv78hr3rss3j3i3bfpsn3i7af1qcw8",
"msg": "Update from Hackage at 2022-08-09T06:14:32Z"
}
38 changes: 16 additions & 22 deletions pkgs/development/compilers/ghc/9.4.1.nix
Original file line number Diff line number Diff line change
Expand Up @@ -177,32 +177,27 @@ assert buildTargetLlvmPackages.llvm == llvmPackages.llvm;
assert stdenv.targetPlatform.isDarwin -> buildTargetLlvmPackages.clang == llvmPackages.clang;

stdenv.mkDerivation (rec {
version = "9.4.0.20220721";
version = "9.4.1";
pname = "${targetPrefix}ghc${variantSuffix}";

src = fetchurl {
url = "https://downloads.haskell.org/ghc/9.4.1-rc1/ghc-${version}-src.tar.xz";
sha256 = "bca8c52f76d8747a66291181de2de7bdf9ff80093808fe39bf5cbff0f116c426";
url = "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz";
sha256 = "sha256-y/7UZAvfAl4zulVDPa+M32mPTgSZrnqADd5EqC5zluM=";
};

enableParallelBuilding = true;

outputs = [ "out" "doc" ];


patches = [
# fix hyperlinked haddock sources: https://github.com/haskell/haddock/pull/1482
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/haskell/haddock/pull/1482.patch";
sha256 = "sha256-8w8QUCsODaTvknCDGgTfFNZa8ZmvIKaKS+2ZJZ9foYk=";
extraPrefix = "utils/haddock/";
stripLen = 1;
})
# fix race condition in make build system
# add missing profiling targets in make build system
(fetchpatch {
name = "ghc-hs-boot-copying-fix.patch";
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/4f17eff0cbd125eca55b68f4927befdd45008eb6.diff";
sha256 = "0anq3w9z9mhxb0wx6rvxac3n7rl3apcma9zk3r9zz9hj9v7vkqzx";
name = "ghc-9.4.1-fix-bootstrapping-with-profiling-1.patch";
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/47b4fea08bd0ef1476b8d134c7baf06157fe5fa5.diff";
sha256 = "sha256-oYQWg9cK0RNL9I+kap8KER+iiKim73zG6URQs8BeAXU=";
})
./ghc-9.4.1-fix-bootstrapping-with-profiling-2.patch
];

postPatch = "patchShebangs .";
Expand Down Expand Up @@ -240,14 +235,6 @@ stdenv.mkDerivation (rec {
'' + ''

echo -n "${buildMK}" > mk/build.mk
# GHC 9.4.1-rc1 tarball is not properly prepared, also the boot script has been renamed
# https://gitlab.haskell.org/ghc/ghc/-/issues/21626#note_444654
# TODO(@sternenseemann): make source-dist rules include all boot-generated files
./boot.source

# Too restrictive upper bound on Cabal the make build system chokes on
# XXX(@sternenseemann): this should be upstreamed
substituteInPlace utils/ghc-cabal/ghc-cabal.cabal --replace "3.8" "3.9"

sed -i -e 's|-isysroot /Developer/SDKs/MacOSX10.5.sdk||' configure
'' + lib.optionalString (stdenv.isLinux && hostPlatform.libc == "glibc") ''
Expand Down Expand Up @@ -277,6 +264,13 @@ stdenv.mkDerivation (rec {
--replace '*-android*|*-gnueabi*)' \
'*-android*|*-gnueabi*|*-musleabi*)'
done
''
# HACK: allow bootstrapping with GHC 8.10 which works fine, as we don't have
# binary 9.0 packaged. Bootstrapping with 9.2 is broken without hadrian.
+ ''
substituteInPlace configure --replace \
'MinBootGhcVersion="9.0"' \
'MinBootGhcVersion="8.10"'
'';

# TODO(@Ericson2314): Always pass "--target" and always prefix.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git a/ghc.mk b/ghc.mk
index dd65e7adfe..b91af56078 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -509,11 +509,13 @@ libraries/containers/containers/dist-install/build/Data/IntMap/Internal.o: libra
libraries/containers/containers/dist-install/build/Data/Graph.o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.hi
libraries/containers/containers/dist-install/build/Data/Set/Internal.o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.hi
libraries/containers/containers/dist-install/build/Data/IntSet/Internal.o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.hi
+libraries/containers/containers/dist-install/build/Data/Sequence/Internal.o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.hi

libraries/containers/containers/dist-install/build/Data/IntMap/Internal.p_o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.p_hi
libraries/containers/containers/dist-install/build/Data/Graph.p_o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.p_hi
libraries/containers/containers/dist-install/build/Data/Set/Internal.p_o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.p_hi
libraries/containers/containers/dist-install/build/Data/IntSet/Internal.p_o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.p_hi
+libraries/containers/containers/dist-install/build/Data/Sequence/Internal.p_o: libraries/template-haskell/dist-install/build/Language/Haskell/TH/Lib/Internal.p_hi

ifeq "$(BIGNUM_BACKEND)" "gmp"
GMP_ENABLED = YES
23 changes: 5 additions & 18 deletions pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ self: super: {
# base bound
digit = doJailbreak super.digit;

# matterhorn-50200.17.0 won't work with brick >= 0.71
matterhorn = doJailbreak (super.matterhorn.overrideScope (self: super: {
brick = self.brick_0_70_1;
}));

# 2020-06-05: HACK: does not pass own build suite - `dontCheck`
# 2022-06-17: Use hnix-store 0.5 until hnix 0.17
hnix = generateOptparseApplicativeCompletion "hnix" (dontCheck (
Expand Down Expand Up @@ -351,24 +356,6 @@ self: super: {
lensref = dontCheck super.lensref;
lvmrun = disableHardening ["format"] (dontCheck super.lvmrun);
matplotlib = dontCheck super.matplotlib;

brick_0_73 = doDistribute (super.brick_0_73.overrideScope (self: super: {
vty = self.vty_5_36;
text-zipper = self.text-zipper_0_12;
}));

# https://github.com/matterhorn-chat/matterhorn/issues/679 they do not want to be on stackage
matterhorn = doJailbreak (appendPatches [
# Fix build with brick 0.73
(fetchpatch {
name = "matterhorn-brick-0.72.patch";
url = "https://github.com/matterhorn-chat/matterhorn/commit/d52df3342b8420e219095aad477205e47fbef11b.patch";
sha256 = "1ifvv926g9m8niyc9nl1hy9bkx4kf12ciyv2v8vnrzz3njp4fsrz";
})
] (super.matterhorn.overrideScope (self: super: {
brick = self.brick_0_73;
})));

memcache = dontCheck super.memcache;
metrics = dontCheck super.metrics;
milena = dontCheck super.milena;
Expand Down
16 changes: 9 additions & 7 deletions pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,15 @@ self: super: {
mime-string = disableOptimization super.mime-string;

# Older compilers need the latest ghc-lib to build this package.
hls-hlint-plugin = addBuildDepend self.ghc-lib (overrideCabal (drv: {
# Workaround for https://github.com/haskell/haskell-language-server/issues/2728
postPatch = ''
sed -i 's/(GHC.RealSrcSpan x,/(GHC.RealSrcSpan x Nothing,/' src/Ide/Plugin/Hlint.hs
'';
})
super.hls-hlint-plugin);
# Fix build with ghc-lib >= 9.0 and ghc <= 8.10.7
# https://github.com/haskell/haskell-language-server/issues/2728
hls-hlint-plugin = addBuildDepend self.ghc-lib (appendPatch (pkgs.fetchpatch {
name = "hls-hlint-plugin-workaround.patch";
url = "https://github.com/haskell/haskell-language-server/pull/2854.patch";
hash = "sha256-bLGu0OQtXsmMF3rZM+R6k7bsZm4Vgf2r0ert5Wunong=";
stripLen = 2;
includes = ["src/Ide/Plugin/Hlint.hs"];
}) super.hls-hlint-plugin);

haskell-language-server = appendConfigureFlags [
"-f-stylishhaskell"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ broken-packages:
- awesomium-raw
- aws-cloudfront-signer
- aws-ec2
- aws-ec2-knownhosts
- aws-general
- aws-lambda-haskell-runtime
- aws-lambda-runtime
Expand Down Expand Up @@ -550,13 +551,15 @@ broken-packages:
- cabal-upload
- cabalvchk
- cabin
- cabocha
- cached
- cache-polysemy
- caching
- cacophony
- cafeteria-prelude
- caffegraph
- cairo-core
- cake3
- cal3d
- calamity
- caledon
Expand Down Expand Up @@ -1203,6 +1206,7 @@ broken-packages:
- dump-core
- dunai-core
- Dung
- duplo
- dura
- dvault
- dvdread
Expand Down Expand Up @@ -1957,6 +1961,7 @@ broken-packages:
- hashtables-plus
- hasim
- hask
- haskades
- haskanoid
- haskarrow
- haskbot-core
Expand Down Expand Up @@ -2138,6 +2143,7 @@ broken-packages:
- heterogeneous-list-literals
- hetris
- heukarya
- hevm
- HExcel
- hexchat
- hexif
Expand Down Expand Up @@ -2206,6 +2212,7 @@ broken-packages:
- hinter
- hinterface
- hipchat-hs
- hipe
- Hipmunk
- hipsql-api
- hircules
Expand Down Expand Up @@ -2551,6 +2558,7 @@ broken-packages:
- hylolib
- hyperdrive
- hyperfunctions
- hypergeomatrix
- hyper-haskell-server
- hyperion
- hyperloglogplus
Expand Down Expand Up @@ -2677,6 +2685,7 @@ broken-packages:
- ireal
- iri
- iridium
- iris
- iron-mq
- irt
- isdicom
Expand Down Expand Up @@ -2720,6 +2729,7 @@ broken-packages:
- jinquantities
- jml-web-service
- jni
- jobqueue
- join-api
- joinlist
- joint
Expand Down Expand Up @@ -2780,6 +2790,7 @@ broken-packages:
- Kalman
- kangaroo
- karabiner-config
- karps
- katip-datadog
- katip-elasticsearch
- katip-kafka
Expand Down Expand Up @@ -2824,6 +2835,7 @@ broken-packages:
- korea-holidays
- kraken
- krank
- krapsh
- Kriens
- krpc
- KSP
Expand Down Expand Up @@ -2887,6 +2899,7 @@ broken-packages:
- language-webidl
- LargeCardinalHierarchy
- Lastik
- latest-npm-version
- latex-formulae-image
- latex-svg-image
- LATS
Expand Down Expand Up @@ -3042,6 +3055,7 @@ broken-packages:
- lojbanParser
- lojbanXiragan
- lol
- lol-calculus
- longboi
- longshot
- lookup-tables
Expand Down Expand Up @@ -3201,6 +3215,7 @@ broken-packages:
- miconix-test
- microgroove
- microlens-each
- micrologger
- micro-recursion-schemes
- microsoft-translator
- mida
Expand Down Expand Up @@ -3477,6 +3492,7 @@ broken-packages:
- niagra
- nibblestring
- nice-html
- nicovideo-translator
- nitro
- nix-delegate
- nix-eval
Expand Down Expand Up @@ -3525,7 +3541,7 @@ broken-packages:
- numhask-histogram
- numhask-prelude
- Nutri
- nvim-hs-contrib
- nvim-hs-ghcid
- NXTDSL
- nyan-interpolation-core
- nylas
Expand Down Expand Up @@ -3808,6 +3824,7 @@ broken-packages:
- phraskell
- Phsu
- phybin
- pia-forward
- pi-calculus
- picedit
- pickle
Expand Down Expand Up @@ -4065,6 +4082,7 @@ broken-packages:
- pushbullet-types
- pusher-haskell
- pusher-ws
- pushme
- push-notifications
- putlenses
- puzzle-draw
Expand Down Expand Up @@ -4496,6 +4514,7 @@ broken-packages:
- servant-static-th
- servant-streaming
- servant-streamly
- servant-util
- servant-wasm
- servant-yaml
- servant-zeppelin
Expand Down Expand Up @@ -5037,6 +5056,7 @@ broken-packages:
- tex2txt
- texbuilder
- text1
- text-all
- text-and-plots
- text-ascii
- text-builder-linear
Expand Down Expand Up @@ -5134,6 +5154,10 @@ broken-packages:
- tkhs
- tkyprof
- tmp-proc-example
- tmp-proc-postgres
- tmp-proc-rabbitmq
- tmp-proc-redis
- tmp-proc-zipkin
- todo
- tofromxml
- to-haskell
Expand Down
Loading