haskellPackages.utc: mark as broken

utc has been unmaintained for a while now (last commit was 2016). We
duct taped it to keep it compiling, but now System.Clock is no longer
importable safely. I think it's time to lay it to rest, as it also has
some severe bugs causing it to produce incorrect results.

It's a bit sad, as I think it would be the better time library. Maybe
I'll try to become the hackage maintainer at some point [1].

[1]: https://github.com/lpeterse/haskell-utc/issues/8#issuecomment-786653135
This commit is contained in:
sternenseemann 2022-02-16 10:09:32 +01:00
parent 9b4f621741
commit 8c50dc598f
3 changed files with 3 additions and 7 deletions

View file

@ -1268,13 +1268,6 @@ self: super: {
# Tests disabled and broken override needed because of missing lib chrome-test-utils: https://github.com/reflex-frp/reflex-dom/issues/392
reflex-dom-core = doDistribute (unmarkBroken (dontCheck (doJailbreak super.reflex-dom-core)));
# add unreleased commit fixing version constraint as a patch
# Can be removed if https://github.com/lpeterse/haskell-utc/issues/8 is resolved
utc = appendPatch (pkgs.fetchpatch {
url = "https://github.com/lpeterse/haskell-utc/commit/e4502c08591e80d411129bb7c0414539f6302aaf.diff";
sha256 = "0v6kv1d4syjzgzc2s7a76c6k4vminlcq62n7jg3nn9xd00gwmmv7";
}) super.utc;
# Tests disabled because they assume to run in the whole jsaddle repo and not the hackage tarbal of jsaddle-warp.
jsaddle-warp = dontCheck super.jsaddle-warp;

View file

@ -5243,6 +5243,7 @@ broken-packages:
- urxml
- users-mysql-haskell
- users-persistent
- utc
- utf
- utf8-prelude
- utf8-validator

View file

@ -289023,7 +289023,9 @@ self: {
];
description = "A pragmatic time and date library";
license = lib.licenses.mit;
hydraPlatforms = lib.platforms.none;
maintainers = with lib.maintainers; [ sternenseemann ];
broken = true;
}) {};
"utf" = callPackage