mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
haskellPackages.accelerate: overrideSrc from GH
The last official release of accelerate appears to have been 5 years ago and does not build with our GHC. However, the repository is active and appears at least to build up to GHC 9.10. This PR pulls the source from github and adds missing dependencies.
This commit is contained in:
parent
c9d5b1e595
commit
02ecc1a41f
3 changed files with 24 additions and 3 deletions
|
@ -20,6 +20,30 @@ with haskellLib;
|
|||
|
||||
self: super:
|
||||
{
|
||||
# Hackage's accelerate is from 2020 and incomptible with our GHC.
|
||||
# The existing derivation also has missing dependencies
|
||||
# compared to the source from github.
|
||||
# https://github.com/AccelerateHS/accelerate/issues/553
|
||||
accelerate =
|
||||
assert super.accelerate.version == "1.3.0.0";
|
||||
lib.pipe super.accelerate [
|
||||
(addBuildDepends [
|
||||
self.double-conversion
|
||||
self.formatting
|
||||
self.microlens
|
||||
])
|
||||
|
||||
(overrideCabal (drv: {
|
||||
version = "1.3.0.0-unstable-2025-04-25";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "AccelerateHS";
|
||||
repo = "accelerate";
|
||||
rev = "3f681a5091eddf5a3b97f4cd0de32adc830e1117";
|
||||
sha256 = "sha256-tCcl7wAls+5cBSrqbxfEAJngbV43OJcLJdaC4qqkBxc=";
|
||||
};
|
||||
}))
|
||||
];
|
||||
|
||||
# https://github.com/ivanperez-keera/dunai/issues/427
|
||||
dunai = addBuildDepend self.list-transformer (enableCabalFlag "list-transformer" super.dunai);
|
||||
|
||||
|
|
|
@ -13,7 +13,6 @@ broken-packages:
|
|||
- AbortT-transformers # failure in job https://hydra.nixos.org/build/233210345 at 2023-09-02
|
||||
- abt # failure in job https://hydra.nixos.org/build/233201301 at 2023-09-02
|
||||
- AC-BuildPlatform # failure in job https://hydra.nixos.org/build/233219130 at 2023-09-02
|
||||
- accelerate # failure in job https://hydra.nixos.org/build/233198907 at 2023-09-02
|
||||
- accentuateus # failure in job https://hydra.nixos.org/build/233253627 at 2023-09-02
|
||||
- access-time # failure in job https://hydra.nixos.org/build/233246051 at 2023-09-02
|
||||
- accuerr # failure in job https://hydra.nixos.org/build/233220965 at 2023-09-02
|
||||
|
|
|
@ -49514,8 +49514,6 @@ self: {
|
|||
];
|
||||
description = "An embedded language for accelerated array processing";
|
||||
license = lib.licenses.bsd3;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
broken = true;
|
||||
}
|
||||
) { };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue