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 #168049

Merged
merged 39 commits into from
Apr 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
49d1461
haskell: don't lose packageOverrides for native-bignum
cdepillabout Apr 9, 2022
c16208e
haskellPackages: unbreak bloodhound
TristanCacqueray Apr 8, 2022
5a2e247
haskellPackages: stackage LTS 19.2 -> LTS 19.3
sternenseemann Apr 9, 2022
ef0a727
all-cabal-hashes: 2022-04-06T22:24:53Z -> 2022-04-09T11:23:17Z
sternenseemann Apr 9, 2022
d14e0c0
haskellPackages: regenerate package set based on current config
sternenseemann Apr 9, 2022
c77384c
Merge master into haskell-updates
github-actions[bot] Apr 10, 2022
7ae9629
Merge pull request #167957 from TristanCacqueray/unbreak-bloodhound
sternenseemann Apr 10, 2022
b388642
haskellPackages.hercules-ci-cnix-expr: Fix test
roberth Apr 10, 2022
fde2e98
haskell.compiler.ghcjs: fix build with aeson 2.0
sternenseemann Apr 10, 2022
2a9bdf3
Merge master into haskell-updates
github-actions[bot] Apr 11, 2022
7ad0327
release-haskell.nix: build boot ghcjs on Hydra
sternenseemann Apr 10, 2022
9c6f6ed
Merge master into haskell-updates
github-actions[bot] Apr 12, 2022
1be5cae
haskell: remove override of integer-gmp
cdepillabout Apr 12, 2022
51131f7
Merge pull request #168195 from sternenseemann/ghcjs-fix-build
sternenseemann Apr 12, 2022
88d8a0f
Merge pull request #167956 from cdepillabout/haskell-bignum-dont-lose…
sternenseemann Apr 12, 2022
bb6afd7
haskellPackages.gi-adwaita: mark as broken
sternenseemann Apr 12, 2022
fe1678e
Merge remote-tracking branch 'origin/master' into haskell-updates
sternenseemann Apr 12, 2022
ab12eef
haskellPackages.cryptostore: disable flaky test suite
sternenseemann Apr 12, 2022
ca14813
Merge master into haskell-updates
github-actions[bot] Apr 13, 2022
f5195ae
Merge master into haskell-updates
github-actions[bot] Apr 14, 2022
76168cb
haskell.packages.ghc8107.haskell-language-server: enable hlint plugin
maralorn Apr 14, 2022
82b4dab
haskell.packages.ghc8107.haskell-language-server: enable fourmolu plugin
maralorn Apr 14, 2022
3fa9ae1
haskell.packages.ghc884.haskell-language-server: enable hlint and fou…
maralorn Apr 14, 2022
783cd72
Merge master into haskell-updates
github-actions[bot] Apr 15, 2022
d2a3434
Merge master into haskell-updates
github-actions[bot] Apr 16, 2022
c1f2751
haskellPackages.cryptostore: 0.2.1.0 -> 0.2.2.0
sternenseemann Apr 16, 2022
25499c8
Merge master into haskell-updates
github-actions[bot] Apr 17, 2022
c9aacf1
haskellPackages: mark builds failing on hydra as broken
sternenseemann Apr 17, 2022
c686666
Merge remote-tracking branch 'origin/master' into haskell-updates
sternenseemann Apr 17, 2022
ce26585
Merge master into haskell-updates
github-actions[bot] Apr 18, 2022
26f575c
Merge master into haskell-updates
github-actions[bot] Apr 19, 2022
4716538
pkgsMusl.haskell.compiler.ghc884: bootstrap using normal binary ghc
sternenseemann Apr 19, 2022
56c72fc
spago: get working by using aeson-1.5.6.0
cdepillabout Apr 19, 2022
6284678
Merge master into haskell-updates
github-actions[bot] Apr 20, 2022
77dcdbb
Merge master into haskell-updates
github-actions[bot] Apr 21, 2022
f1f7144
haskellPackages: mark builds failing on hydra as broken
cdepillabout Apr 21, 2022
3e6d4c0
jl: mark broken
cdepillabout Apr 21, 2022
9cd8281
hyper-haskell-server-with-packages: mark broken
cdepillabout Apr 21, 2022
ddbc061
hasura-graphql-engine: mark as broken
cdepillabout Apr 21, 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": "6387c3141750050e170d6ac030c063536c39aede",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/6387c3141750050e170d6ac030c063536c39aede.tar.gz",
"sha256": "1w9vy5ky3aqqnkldxqdvma21qz3myhc961xmgh1iqn60q03j4d2j",
"msg": "Update from Hackage at 2022-04-06T22:24:53Z"
"commit": "e5167f06cba67fa268ebafb97f5ccbffe412cd2a",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/e5167f06cba67fa268ebafb97f5ccbffe412cd2a.tar.gz",
"sha256": "1ihkrjk7a24wbzjz4wlx3mdh88bbq4665l1ld7gxs5jaimcmhn5j",
"msg": "Update from Hackage at 2022-04-09T11:23:17Z"
}
35 changes: 32 additions & 3 deletions pkgs/development/compilers/ghcjs/8.10/common-overrides.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,37 @@
{ haskellLib }:
{ haskellLib, fetchpatch, buildPackages }:

let inherit (haskellLib) addBuildTools appendConfigureFlag dontHaddock doJailbreak;
let inherit (haskellLib) addBuildTools appendConfigureFlag dontHaddock doJailbreak markUnbroken overrideCabal;
in self: super: {
ghcjs = doJailbreak (super.ghcjs.overrideScope (self: super: {
ghcjs = overrideCabal (drv: {
# Jailbreak and patch can be dropped after https://github.com/ghcjs/ghcjs/pull/833
jailbreak = true;
patches = drv.patches or [] ++ [
(fetchpatch {
name = "ghcjs-aeson-2.0.patch";
url = "https://github.com/ghcjs/ghcjs/commit/9ef1f92d740e8503d15d91699f57db147f0474cc.patch";
sha256 = "0cgxcy6b5870bv4kj54n3bzcqinh4gl4w4r78dg43h2mblhkzbnj";
})
];
}) (super.ghcjs.overrideScope (self: super: {
optparse-applicative = self.optparse-applicative_0_15_1_0;
webdriver = overrideCabal (drv: {
patches = drv.patches or [] ++ [
# Patch for aeson 2.0 which adds a lower bound on it, so we don't apply it globally
# Pending https://github.com/kallisti-dev/hs-webdriver/pull/183
(fetchpatch {
name = "webdriver-aeson-2.0.patch";
url = "https://github.com/georgefst/hs-webdriver/commit/90ded63218da17fc0bd9f9b208b0b3f60b135757.patch";
sha256 = "1xvkk51r2v020xlmci5n1fd1na8raa332lrj7r9f0ijsyfvnqlv0";
excludes = [ "webdriver.cabal" ];
})
];
# Fix line endings so patch applies
prePatch = drv.prePatch or "" + ''
find . -name '*.hs' | xargs "${buildPackages.dos2unix}/bin/dos2unix"
'';

jailbreak = true;
broken = false;
}) super.webdriver;
}));
}
3 changes: 2 additions & 1 deletion pkgs/development/compilers/ghcjs/8.10/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, pkgsHostHost
, callPackage
, fetchgit
, fetchpatch
, ghcjsSrcJson ? null
, ghcjsSrc ? fetchgit (lib.importJSON ghcjsSrcJson)
, bootPkgs
Expand Down Expand Up @@ -36,7 +37,7 @@ let
})

(callPackage ./common-overrides.nix {
inherit haskellLib;
inherit haskellLib fetchpatch buildPackages;
})
ghcjsDepOverrides
]);
Expand Down
11 changes: 10 additions & 1 deletion pkgs/development/haskell-modules/configuration-common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ self: super: {
binary-protocol = dontCheck super.binary-protocol; # http://hydra.cryp.to/build/499749/log/raw
binary-search = dontCheck super.binary-search;
bits = dontCheck super.bits; # http://hydra.cryp.to/build/500239/log/raw
bloodhound = dontCheck super.bloodhound;
bloodhound = dontCheck super.bloodhound; # https://github.com/plow-technologies/quickcheck-arbitrary-template/issues/10
buildwrapper = dontCheck super.buildwrapper;
burst-detection = dontCheck super.burst-detection; # http://hydra.cryp.to/build/496948/log/raw
cabal-meta = dontCheck super.cabal-meta; # http://hydra.cryp.to/build/497892/log/raw
Expand Down Expand Up @@ -2584,6 +2584,15 @@ self: super: {
# 2022-03-16: Upstream stopped updating bounds https://github.com/haskell-hvr/base-noprelude/pull/15
base-noprelude = doJailbreak super.base-noprelude;

# Manually upgrade cryptostore to work around
# https://github.com/ocheron/cryptostore/issues/7
cryptostore = assert super.cryptostore.version == "0.2.1.0"; overrideCabal {
version = "0.2.2.0";
sha256 = "0n70amg7y2qwfjhj4xaqjia46fbabba9l2g19ry191m7c4zp1skx";
revision = null;
editedCabalFile = null;
} super.cryptostore;

# 2022-03-16: Bounds need to be loosened https://github.com/obsidiansystems/dependent-sum-aeson-orphans/issues/10
dependent-sum-aeson-orphans = doJailbreak super.dependent-sum-aeson-orphans;

Expand Down
20 changes: 11 additions & 9 deletions pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,22 @@ 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 super.hls-hlint-plugin;
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);

haskell-language-server = appendConfigureFlags [
"-f-fourmolu"
"-f-stylishhaskell"
"-f-brittany"
"-f-hlint"
]
(super.haskell-language-server.override {
# Not buildable on 8.10
hls-fourmolu-plugin = null;
# https://github.com/haskell/haskell-language-server/issues/2728
hls-hlint-plugin = null;
});
super.haskell-language-server;

# has a restrictive lower bound on Cabal
fourmolu = doJailbreak super.fourmolu;

# ormolu 0.3 requires Cabal == 3.4
ormolu = super.ormolu_0_2_0_0;
Expand Down
21 changes: 13 additions & 8 deletions pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -131,18 +131,23 @@ 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);

haskell-language-server = appendConfigureFlags [
"-f-fourmolu"
"-f-stylishhaskell"
"-f-brittany"
"-f-hlint"
]
(super.haskell-language-server.override {
# Not buildable on 8.8
hls-fourmolu-plugin = null;
# https://github.com/haskell/haskell-language-server/issues/2728
hls-hlint-plugin = null;
});
super.haskell-language-server;

# has a restrictive lower bound on Cabal
fourmolu = doJailbreak super.fourmolu;

# OneTuple needs hashable instead of ghc-prim for GHC < 9
OneTuple = super.OneTuple.override {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ broken-packages:
- binary-communicator
- binary-derive
- binary-ext
- binary-generic-combinators
- binary-indexed-tree
- binary-protocol
- binary-tree
Expand Down Expand Up @@ -433,7 +434,6 @@ broken-packages:
- blockfrost-api
- blockhash
- Blogdown
- bloodhound
- bloomfilter-redis
- blubber-server
- bludigon
Expand Down Expand Up @@ -1688,6 +1688,7 @@ broken-packages:
- ghcup
- ghc-usage
- gh-labeler
- gi-adwaita
- giak
- gi-cogl
- Gifcurry
Expand Down Expand Up @@ -2546,6 +2547,7 @@ broken-packages:
- hylolib
- hyperdrive
- hyperfunctions
- hyper-haskell-server
- hyperion
- hyperloglogplus
- hyperscript
Expand Down Expand Up @@ -2779,6 +2781,7 @@ broken-packages:
- kangaroo
- karabiner-config
- katip-datadog
- katip-elasticsearch
- katip-kafka
- katip-logzio
- katip-scalyr-scribe
Expand Down Expand Up @@ -3331,6 +3334,7 @@ broken-packages:
- msgpack
- msgpack-binary
- msgpack-persist
- msgpack-types
- msh
- msi-kb-backlit
- MTGBuilder
Expand Down Expand Up @@ -3596,6 +3600,7 @@ broken-packages:
- open-signals
- opensoundcontrol-ht
- openssh-protocol
- opentelemetry-extra
- opentelemetry-http-client
- opentheory-char
- opentok
Expand Down Expand Up @@ -4025,6 +4030,7 @@ broken-packages:
- process-leksah
- process-listlike
- processmemory
- procex
- procrastinating-variable
- procstat
- prof2pretty
Expand Down Expand Up @@ -4331,6 +4337,7 @@ broken-packages:
- robin
- robots-txt
- roc-cluster
- roc-id
- roku-api
- rollbar-client
- rollbar-hs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ core-packages:
# tracked in stackage.yaml. Adding conflicting overrides with stackage here will
# not work.
default-package-overrides:
# gi-gdkx11-4.x requires gtk-4.x, which is still under development and
# not yet available in Nixpkgs
# gi-gdkx11-4.x requires gtk-4.x, but stackage still restricts gi-gtk to 3.*
- gi-gdkx11 < 4
# reflex-dom-pandoc is only used by neuron which needs a version < 1.0.0.0
- reflex-dom-pandoc < 1.0.0.0
Expand Down
Loading