Merge pull request #149446 from NixOS/haskell-updates

haskellPackages: update stackage and hackage
This commit is contained in:
maralorn 2021-12-08 23:01:15 +01:00 committed by GitHub
commit a33e8e6562
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 627 additions and 251 deletions

View File

@ -1,6 +1,6 @@
{
"commit": "d859530d8342c52d09a73d1d125c144725b5945d",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/d859530d8342c52d09a73d1d125c144725b5945d.tar.gz",
"sha256": "0gjahsqqq99dc4bjcx9p3z8adpwy51w3mzrf57nib856jlvlfmv5",
"msg": "Update from Hackage at 2021-12-02T21:05:02Z"
"commit": "f68c8c181db05f72a6423ed12b503445944face7",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/f68c8c181db05f72a6423ed12b503445944face7.tar.gz",
"sha256": "0rcmpkd9hliiq4cj2mjnn2bi9lc4yh2ha6xh1mwxh7qf2i0zgjx6",
"msg": "Update from Hackage at 2021-12-07T20:15:21Z"
}

View File

@ -946,12 +946,7 @@ self: super: {
dhall-json = generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"] (dontCheck super.dhall-json);
dhall-nix = generateOptparseApplicativeCompletion "dhall-to-nix" super.dhall-nix;
dhall-yaml = generateOptparseApplicativeCompletions ["dhall-to-yaml-ng" "yaml-to-dhall"] super.dhall-yaml;
# Too strict lower bound on base64-bytestring
# https://github.com/dhall-lang/dhall-haskell/issues/2346
dhall-nixpkgs = overrideCabal (drv: {
revision = assert !(drv ? revision); "1";
editedCabalFile = "0ld4z4d3gw9mxyhm5g2hgw4w68izjnwrcqd6j7yhwhrblhdmqrr4";
}) (generateOptparseApplicativeCompletion "dhall-to-nixpkgs" super.dhall-nixpkgs);
dhall-nixpkgs = generateOptparseApplicativeCompletion "dhall-to-nixpkgs" super.dhall-nixpkgs;
# https://github.com/haskell-hvr/netrc/pull/2#issuecomment-469526558
netrc = doJailbreak super.netrc;
@ -1354,21 +1349,21 @@ self: super: {
resource-pool = self.hasura-resource-pool;
ekg-core = self.hasura-ekg-core;
ekg-json = self.hasura-ekg-json;
hspec = dontCheck self.hspec_2_9_2;
hspec-core = dontCheck self.hspec-core_2_9_2;
hspec-discover = dontCheck super.hspec-discover_2_9_2;
hspec = dontCheck self.hspec_2_9_3;
hspec-core = dontCheck self.hspec-core_2_9_3;
hspec-discover = dontCheck super.hspec-discover_2_9_3;
tasty-hspec = self.tasty-hspec_1_2;
}));
hasura-ekg-core = doJailbreak (super.hasura-ekg-core.overrideScope (self: super: {
hspec = dontCheck self.hspec_2_9_2;
hspec-core = dontCheck self.hspec-core_2_9_2;
hspec-discover = dontCheck super.hspec-discover_2_9_2;
hspec = dontCheck self.hspec_2_9_3;
hspec-core = dontCheck self.hspec-core_2_9_3;
hspec-discover = dontCheck super.hspec-discover_2_9_3;
}));
hasura-ekg-json = super.hasura-ekg-json.overrideScope (self: super: {
ekg-core = self.hasura-ekg-core;
hspec = dontCheck self.hspec_2_9_2;
hspec-core = dontCheck self.hspec-core_2_9_2;
hspec-discover = dontCheck super.hspec-discover_2_9_2;
hspec = dontCheck self.hspec_2_9_3;
hspec-core = dontCheck self.hspec-core_2_9_3;
hspec-discover = dontCheck super.hspec-discover_2_9_3;
});
pg-client = overrideCabal (drv: {
librarySystemDepends = with pkgs; [ postgresql krb5.dev openssl.dev ];
@ -2008,7 +2003,7 @@ EOT
ghcup = doJailbreak (super.ghcup.overrideScope (self: super: {
hspec-golden-aeson = self.hspec-golden-aeson_0_9_0_0;
optics = self.optics_0_4;
streamly = self.streamly_0_8_1;
streamly = self.streamly_0_8_1_1;
Cabal = self.Cabal_3_6_2_0;
libyaml-streamly = markUnbroken super.libyaml-streamly;
}));
@ -2100,9 +2095,9 @@ EOT
# Jailbreak isn't sufficient, but this is ok as it's a leaf package.
hadolint = super.hadolint.overrideScope (self: super: {
language-docker = self.language-docker_10_4_0;
hspec = dontCheck self.hspec_2_9_2;
hspec-core = dontCheck self.hspec-core_2_9_2;
hspec-discover = dontCheck self.hspec-discover_2_9_2;
hspec = dontCheck self.hspec_2_9_3;
hspec-core = dontCheck self.hspec-core_2_9_3;
hspec-discover = dontCheck self.hspec-discover_2_9_3;
colourista = doJailbreak super.colourista;
});

View File

@ -250,11 +250,11 @@ self: super: ({
c2hsc = addTestToolDepends [ pkgs.gcc ] super.c2hsc;
# streamly depends on Cocoa starting with 0.8.0
streamly_0_8_1 = overrideCabal (drv: {
streamly_0_8_1_1 = overrideCabal (drv: {
libraryFrameworkDepends = [
darwin.apple_sdk.frameworks.Cocoa
] ++ (drv.libraryFrameworkDepends or []);
}) super.streamly_0_8_1;
}) super.streamly_0_8_1_1;
} // lib.optionalAttrs pkgs.stdenv.isAarch64 { # aarch64-darwin

View File

@ -155,14 +155,11 @@ self: super: {
validity = pkgs.lib.pipe super.validity_0_12_0_0 [
# head.hackage patch
(appendPatch (pkgs.fetchpatch {
url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/master/patches/validity-0.11.0.1.patch";
sha256 = "0qs6g1naqvcvklk78cadnpsfqnff1yflryi2ms6im203w75f2fsc";
url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/9110e6972b5daf085e19cad41f97920d3ddac499/patches/validity-0.12.0.0.patch";
sha256 = "0hzns596dxvyn8irgi7aflx76wak1qi13chkkvl0055pkgykm08f";
}))
# head.hackage ignores test suite
dontCheck
# 0.12.0.0 disabled CPP in fetched file, breaks haddock
(appendConfigureFlag "--ghc-option=-XCPP")
dontHaddock
];
# lens >= 5.1 supports 9.2.1

View File

@ -2027,6 +2027,7 @@ broken-packages:
- hastache
- haste
- haste-prim
- has-transformers
- hat
- hatex-guide
- hats
@ -2075,6 +2076,7 @@ broken-packages:
- hdph-closure
- hdr-histogram
- HDRUtils
- headed-megaparsec
- headergen
- heap-console
- heapsort
@ -2731,6 +2733,7 @@ broken-packages:
- kmonad
- kmp-dfa
- koellner-phonetic
- koji-install
- Konf
- kontra-config
- kparams

View File

@ -1574,7 +1574,7 @@ dont-distribute-packages:
- hmeap
- hmeap-utils
- hmep
- hmm-lapack_0_4_1
- hmm-lapack_0_5
- hmt
- hmt-diagrams
- hnormalise
@ -1920,7 +1920,7 @@ dont-distribute-packages:
- language-python-colour
- language-qux
- language-spelling
- lapack_0_4
- lapack_0_5
- lat
- latex-formulae-hakyll
- latex-formulae-pandoc

File diff suppressed because it is too large Load Diff