purescript: unbreak package by fixing imports for new mtl

mtl decided to un-export `Control.Monad` and `Data.Monoid`, which in
itself is fine, but of course it breaks everything.
This commit is contained in:
Profpatsch 2024-07-21 14:22:14 +02:00
parent 6da1c2e5d6
commit afce93f732
3 changed files with 8 additions and 3 deletions

View File

@ -2736,6 +2736,14 @@ self: super: {
lib.pipe
(super.purescript.overrideScope purescriptOverlay)
([
# https://github.com/purescript/purescript/pull/4547
(appendPatches [
(pkgs.fetchpatch {
name = "purescript-import-fix";
url = "https://github.com/purescript/purescript/commit/c610ec18391139a67dc9dcf19233f57d2c5413f7.patch";
hash = "sha256-7s/ygzAFJ1ocZIj3OSd3TbsmGki46WViPIZOU1dfQFg=";
})
])
# PureScript uses nodejs to run tests, so the tests have been disabled
# for now. If someone is interested in figuring out how to get this
# working, it seems like it might be possible.

View File

@ -4816,7 +4816,6 @@ broken-packages:
- pure-priority-queue # failure in job https://hydra.nixos.org/build/233258014 at 2023-09-02
- purescript-ast # failure in job https://hydra.nixos.org/build/233204157 at 2023-09-02
- purescript-cst # failure in job https://hydra.nixos.org/build/233197178 at 2023-09-02
- purescript # failure in job https://hydra.nixos.org/build/253692073 at 2024-03-31
- pure-zlib # failure in job https://hydra.nixos.org/build/233241392 at 2023-09-02
- purview # failure in job https://hydra.nixos.org/build/233208821 at 2023-09-02
- pushbullet # failure in job https://hydra.nixos.org/build/233209340 at 2023-09-02

View File

@ -249930,9 +249930,7 @@ self: {
doCheck = false;
description = "PureScript Programming Language Compiler";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
mainProgram = "purs";
broken = true;
}) {};
"purescript-ast" = callPackage