haskellPackages.ghcjs-websockets: fix build under old ghcjs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user