haskellPackages.dom-parser: prevent revision from breaking the build

Hackage revisions have introduced an upper bound on text <2.1.2 which we
have a patch for.
This commit is contained in:
sternenseemann
2026-04-19 21:30:36 +02:00
parent 88ea239695
commit 89a53c5e8f
3 changed files with 15 additions and 10 deletions

View File

@@ -1722,13 +1722,21 @@ with haskellLib;
];
# Unreleased patch fixing compilation with text >= 2.1.2
dom-parser = appendPatches [
(pkgs.fetchpatch {
name = "dom-parser-text-2.1.2.patch";
url = "https://github.com/typeable/dom-parser/commit/b8d9af75595072026a1706e94750dba55e65326b.patch";
hash = "sha256-c7ea0YCtXhv4u+pTuxcWoISa+yV2oEtxS/RmC6Bbx1M=";
})
] super.dom-parser;
dom-parser =
appendPatches
[
(pkgs.fetchpatch {
name = "dom-parser-text-2.1.2.patch";
url = "https://github.com/typeable/dom-parser/commit/b8d9af75595072026a1706e94750dba55e65326b.patch";
hash = "sha256-c7ea0YCtXhv4u+pTuxcWoISa+yV2oEtxS/RmC6Bbx1M=";
})
]
(
overrideCabal {
revision = null;
editedCabalFile = null;
} super.dom-parser
);
# Requires jsaddle-webkit2gtk to build outside of pkgsCross.ghcjs
# which requires a version of libsoup that's marked as insecure

View File

@@ -1467,7 +1467,6 @@ broken-packages:
- DOH # failure in job https://hydra.nixos.org/build/233231913 at 2023-09-02
- doi # failure in job https://hydra.nixos.org/build/295092999 at 2025-04-22
- dom-events # failure in job https://hydra.nixos.org/build/233231199 at 2023-09-02
- dom-parser # failure in job https://hydra.nixos.org/build/315095926 at 2025-11-29
- dom-selector # failure in job https://hydra.nixos.org/build/233212663 at 2023-09-02
- domaindriven-core # failure in job https://hydra.nixos.org/build/233234739 at 2023-09-02
- dominion # failure in job https://hydra.nixos.org/build/252714022 at 2024-03-16

View File

@@ -205981,8 +205981,6 @@ self: {
];
description = "Simple monadic DOM parser";
license = lib.licenses.mit;
hydraPlatforms = lib.platforms.none;
broken = true;
}
) { };