haskellPackages.ghcjs-websockets: fix build under old ghcjs

This commit is contained in:
Alexandre Esteves
2024-06-19 08:27:04 +01:00
parent d8989a7dde
commit d98cbf29a2
3 changed files with 5 additions and 0 deletions
@@ -29,6 +29,8 @@ self: super:
# evaluation errors.
ghcjs-prim = null;
ghcjs-websockets = markUnbroken super.ghcjs-websockets;
# GHCJS does not ship with the same core packages as GHC.
# https://github.com/ghcjs/ghcjs/issues/676
stm = doJailbreak self.stm_2_5_3_1;
@@ -1999,6 +1999,7 @@ broken-packages:
- ghcjs-fetch # timeout
- ghcjs-promise # failure in job https://hydra.nixos.org/build/233243985 at 2023-09-02
- ghcjs-xhr # failure in job https://hydra.nixos.org/build/233235693 at 2023-09-02
- ghcjs-websockets # Does not work on the js backend added in 9.6+, only on ghcjs, where we markUnbroken
- ghc-justdoit # failure in job https://hydra.nixos.org/build/233221884 at 2023-09-02
- ghclive # failure in job https://hydra.nixos.org/build/233231592 at 2023-09-02
- ghc-man-completion # failure in job https://hydra.nixos.org/build/233245740 at 2023-09-02
+2
View File
@@ -121565,6 +121565,8 @@ self: {
];
description = "Deprecated: use ghcjs-base's native websockets";
license = lib.licenses.mit;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {};
"ghcjs-xhr" = callPackage