haskellPackages.selda: unbreak

Support for GHC 9.4 and text ≥ 2 has been implemented but still
unreleased on Hackage.
This commit is contained in:
rnhmjoj
2023-12-10 02:12:33 +01:00
parent 35e9f7d4e6
commit 67bb428465
3 changed files with 20 additions and 2 deletions

View File

@@ -879,6 +879,26 @@ self: super: {
# 2022-03-19: Testsuite is failing: https://github.com/puffnfresh/haskell-jwt/issues/2
jwt = dontCheck super.jwt;
# Build Selda with the latest git version.
# See https://github.com/valderman/selda/issues/187
inherit (let
mkSeldaPackage = name: overrideCabal (drv: {
version = "2023-02-05-unstable";
src = pkgs.fetchFromGitHub {
owner = "valderman";
repo = "selda";
rev = "ab9619db13b93867d1a244441bb4de03d3e1dadb";
hash = "sha256-P0nqAYzbeTyEEgzMij/3mKcs++/p/Wgc7Y6bDudXt2U=";
} + "/${name}";
}) super.${name};
in
lib.genAttrs [ "selda" "selda-sqlite" "selda-json" ] mkSeldaPackage
)
selda
selda-sqlite
selda-json
;
# Build the latest git version instead of the official release. This isn't
# ideal, but Chris doesn't seem to make official releases any more.
structured-haskell-mode = overrideCabal (drv: {

View File

@@ -4842,7 +4842,6 @@ broken-packages:
- secure-sockets # failure in job https://hydra.nixos.org/build/233254170 at 2023-09-02
- secureUDP # failure in job https://hydra.nixos.org/build/233215410 at 2023-09-02
- SegmentTree # failure in job https://hydra.nixos.org/build/233216161 at 2023-09-02
- selda # failure in job https://hydra.nixos.org/build/233234757 at 2023-09-02
- selectors # failure in job https://hydra.nixos.org/build/233227433 at 2023-09-02
- selenium # failure in job https://hydra.nixos.org/build/233214276 at 2023-09-02
- selinux # failure in job https://hydra.nixos.org/build/233192853 at 2023-09-02

View File

@@ -265266,7 +265266,6 @@ self: {
description = "Multi-backend, high-level EDSL for interacting with SQL databases";
license = lib.licenses.mit;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {};
"selda-json" = callPackage