diff options
author | sternenseemann <sternenseemann@systemli.org> | 2023-08-21 20:00:04 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2023-08-21 20:00:04 +0200 |
commit | 4788fa95f894d1ae112c3a7f38ffb8974d9e1691 (patch) | |
tree | 0820e2461fab3cffcde0e5163dd251737656d1d9 /pkgs | |
parent | c4bea4230563296643626a20af0c5e34c83c778a (diff) | |
download | nixpkgs-4788fa95f894d1ae112c3a7f38ffb8974d9e1691.tar nixpkgs-4788fa95f894d1ae112c3a7f38ffb8974d9e1691.tar.gz nixpkgs-4788fa95f894d1ae112c3a7f38ffb8974d9e1691.tar.bz2 nixpkgs-4788fa95f894d1ae112c3a7f38ffb8974d9e1691.tar.lz nixpkgs-4788fa95f894d1ae112c3a7f38ffb8974d9e1691.tar.xz nixpkgs-4788fa95f894d1ae112c3a7f38ffb8974d9e1691.tar.zst nixpkgs-4788fa95f894d1ae112c3a7f38ffb8974d9e1691.zip |
haskellPackages.spdx: apply patches for GHC >= 9.4
Diffstat (limited to 'pkgs')
3 files changed, 16 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 8632da15036..554fbb5c0f4 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -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; diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index d87a81e7a68..7465a471cd8 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -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 diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 1e26097db52..e24134ff2ed 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -277569,8 +277569,6 @@ self: { ]; description = "SPDX license expression language, Extras"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "spdx-license" = callPackage |