Skip to content

Commit dc6b3e4

Browse files
[25.05] haskellPackages.selda-sqlite: unbreak (#412515)
2 parents e1e94e0 + a98936a commit dc6b3e4

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

pkgs/development/haskell-modules/configuration-common.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,6 +1046,18 @@ self: super:
10461046
+ "/${name}";
10471047
# 2025-04-09: jailbreak to allow bytestring >= 0.12, text >= 2.1
10481048
jailbreak = true;
1049+
# Note: jailbreak ignores constraints under an if(flag)
1050+
postPatch = lib.optionalString (name == "selda-sqlite") ''
1051+
check_sed() {
1052+
if ! test -s "$1"; then
1053+
echo "sed: pattern '$2' doesn't match anything" >&2
1054+
exit 1
1055+
fi
1056+
}
1057+
sed -i ${name}.cabal \
1058+
-e 's/\(bytestring\) .*/\1,/w c1'
1059+
check_sed c1 'bytestring .*'
1060+
'';
10491061
}) super.${name};
10501062
in
10511063
lib.genAttrs [ "selda" "selda-sqlite" "selda-json" ] mkSeldaPackage

pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5373,7 +5373,6 @@ broken-packages:
53735373
- secureUDP # failure in job https://hydra.nixos.org/build/233215410 at 2023-09-02
53745374
- SegmentTree # failure in job https://hydra.nixos.org/build/233216161 at 2023-09-02
53755375
- selda-postgresql # failure in job https://hydra.nixos.org/build/245539286 at 2024-01-02
5376-
- selda-sqlite # failure in job https://hydra.nixos.org/build/295096791 at 2025-04-22
53775376
- selectors # failure in job https://hydra.nixos.org/build/233227433 at 2023-09-02
53785377
- selenium # failure in job https://hydra.nixos.org/build/233214276 at 2023-09-02
53795378
- sel # failure in job https://hydra.nixos.org/build/255671988 at 2024-04-16

pkgs/development/haskell-modules/hackage-packages.nix

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)