1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

haskellPackages.large-hashable: unbreak

Compilation failures are related to GHC updates and other issues which
have been resolved on the package's development repository, but not yet
released. Fetching two patches resolves the problems which is probably a
midterm solution since the repository hasn't seen any activity this year
yet.
This commit is contained in:
sternenseemann 2021-05-09 23:25:09 +02:00
parent 86d021a0c9
commit 6b491e513b
4 changed files with 21 additions and 5 deletions

View file

@ -1879,4 +1879,23 @@ cat > example_data/acs100k.csv <<EOT
EOT
''; });
# 2021-05-09: compilation requires patches from master,
# remove at next release (current is 0.1.0.4).
large-hashable = appendPatches super.large-hashable [
# Fix compilation of TH code for GHC >= 8.8
(pkgs.fetchpatch {
url = "https://github.com/factisresearch/large-hashable/commit/ee7afe4bd181cf15a324c7f4823f7a348e4a0e6b.patch";
sha256 = "1ha77v0bc6prxacxhpdfgcsgw8348gvhl9y81smigifgjbinphxv";
excludes = [
".travis.yml"
"stack**"
];
})
# Fix cpp invocation
(pkgs.fetchpatch {
url = "https://github.com/factisresearch/large-hashable/commit/7b7c2ed6ac6e096478e8ee00160fa9d220df853a.patch";
sha256 = "1sf9h3k8jbbgfshzrclaawlwx7k2frb09z2a64f93jhvk6ci6vgx";
})
];
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View file

@ -2600,7 +2600,6 @@ broken-packages:
- language-vhdl
- language-webidl
- lapack-ffi
- large-hashable
- Lastik
- latest-npm-version
- latex-formulae-image

View file

@ -220,6 +220,7 @@ package-maintainers:
- gitit
- yarn-lock
- yarn2nix
- large-hashable
poscat:
- hinit
bdesham:

View file

@ -6447,8 +6447,6 @@ self: {
];
description = "A streamly layer for Frames I/O";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {};
"Frank" = callPackage
@ -158217,8 +158215,7 @@ self: {
];
description = "Efficiently hash (large) Haskell values";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
broken = true;
maintainers = with lib.maintainers; [ sternenseemann ];
}) {};
"largeword" = callPackage