emanote: Fix build

This commit is contained in:
maralorn 2022-12-17 02:46:37 +01:00
parent ad0d7cf936
commit 662b19424a
3 changed files with 27 additions and 5 deletions

View file

@ -2253,11 +2253,6 @@ self: super: {
# 2022-11-05: https://github.com/ysangkok/haskell-tzdata/issues/3
tzdata = dontCheck super.tzdata;
# 2022-11-04: The situation around heist-emanote is quite terrible.
# Its simply a heist fork because heist is unmaintained.
# Upstream jailbreak is unreleased: https://github.com/srid/heist/commit/988692ea850b3cbe966c7dc4dd26ba1d49647706
heist-emanote = doJailbreak (dontCheck super.heist-emanote);
# 2022-11-15: Needs newer witch package and brick 1.3 which in turn works with text-zipper 0.12
# Other dependencies are resolved with doJailbreak for both swarm and brick_1_3
swarm = doJailbreak (super.swarm.override {
@ -2318,6 +2313,10 @@ self: super: {
# multiple bounds too strict
snaplet-sqlite-simple = doJailbreak super.snaplet-sqlite-simple;
emanote = super.emanote.overrideScope (lself: lsuper: {
commonmark-extensions = lself.commonmark-extensions_0_2_3_2;
});
# doctest <0.19
polysemy = doJailbreak super.polysemy;

View file

@ -163,6 +163,7 @@ extra-packages:
- vty == 5.35.1 # 2022-07-08: needed for glirc-2.39.0.1
- weeder == 2.2.* # 2022-02-21: preserve for GHC 8.10.7
- weeder == 2.3.* # 2022-05-31: preserve for GHC 9.0.2
- commonmark-extensions < 0.2.3.3 # 2022-12-17: required by emanote 1.0.0.0 (to avoid a bug in 0.2.3.3)
package-maintainers:
abbradar:

View file

@ -63201,6 +63201,28 @@ self: {
mainProgram = "commonmark";
}) {};
"commonmark-extensions_0_2_3_2" = callPackage
({ mkDerivation, base, commonmark, containers, emojis, filepath
, network-uri, parsec, tasty, tasty-bench, tasty-hunit, text
, transformers
}:
mkDerivation {
pname = "commonmark-extensions";
version = "0.2.3.2";
sha256 = "1k5rlh2grg6g1waszhp565m360n1iynjvbkjz8xmap8y234g1bjj";
libraryHaskellDepends = [
base commonmark containers emojis filepath network-uri parsec text
transformers
];
testHaskellDepends = [
base commonmark parsec tasty tasty-hunit text
];
benchmarkHaskellDepends = [ base commonmark tasty-bench text ];
description = "Pure Haskell commonmark parser";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"commonmark-extensions" = callPackage
({ mkDerivation, base, commonmark, containers, emojis, filepath
, network-uri, parsec, tasty, tasty-bench, tasty-hunit, text