haskellPackages.spdx: apply patches for GHC >= 9.4
This commit is contained in:
parent
c4bea42305
commit
4788fa95f8
3 changed files with 16 additions and 3 deletions
|
@ -892,6 +892,22 @@ self: super: {
|
|||
# It does not support aeson 2.0
|
||||
descriptive = super.descriptive.override { aeson = self.aeson_1_5_6_0; };
|
||||
|
||||
# Apply compatibility patches until a new release arrives
|
||||
# https://github.com/phadej/spdx/issues/33
|
||||
spdx = appendPatches [
|
||||
(fetchpatch {
|
||||
name = "spdx-ghc-9.4.patch";
|
||||
url = "https://github.com/phadej/spdx/pull/30/commits/545dc69f433225c837375fba4cbbdb7f9cc7b09b.patch";
|
||||
sha256 = "0p2h8dxkjy2v0dx7h6v62clmx5n5j3c4zh4myh926fijympi1glz";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "spdx-ghc-9.6.patch";
|
||||
url = "https://github.com/phadej/spdx/pull/32/commits/b51f665e9960614274ff6a9ac658802c1a785687.patch";
|
||||
sha256 = "01vf1h0djr84yxsjfhym715ncx0w5q4l02k3dkbmg40pnc62ql4h";
|
||||
excludes = [ ".github/**" ];
|
||||
})
|
||||
] super.spdx;
|
||||
|
||||
# 2022-03-19: Testsuite is failing: https://github.com/puffnfresh/haskell-jwt/issues/2
|
||||
jwt = dontCheck super.jwt;
|
||||
|
||||
|
|
|
@ -5342,7 +5342,6 @@ broken-packages:
|
|||
- sparse-linear-algebra # failure in updateAutotoolsGnuConfigScriptsPhase in job https://hydra.nixos.org/build/230966041 at 2023-08-16
|
||||
- sparse-merkle-trees # failure in updateAutotoolsGnuConfigScriptsPhase in job https://hydra.nixos.org/build/230948641 at 2023-08-16
|
||||
- sparse-tensor
|
||||
- spdx # failure in updateAutotoolsGnuConfigScriptsPhase in job https://hydra.nixos.org/build/230970358 at 2023-08-16
|
||||
- special-functors
|
||||
- special-keys
|
||||
- spectacle
|
||||
|
|
|
@ -277569,8 +277569,6 @@ self: {
|
|||
];
|
||||
description = "SPDX license expression language, Extras";
|
||||
license = lib.licenses.bsd3;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
broken = true;
|
||||
}) {};
|
||||
|
||||
"spdx-license" = callPackage
|
||||
|
|
Loading…
Reference in a new issue