haskellPackages.jsaddle-wkwebview: build on darwin

This commit is contained in:
Alexandre Esteves 2024-04-29 21:26:08 +01:00
parent 993374351f
commit dace374b25
4 changed files with 9 additions and 3 deletions

View File

@ -316,6 +316,13 @@ self: super: ({
# Tests fail on macOS https://github.com/mrkkrp/zip/issues/112
zip = dontCheck super.zip;
# cabal lib set as unbuildable in linux so callCabal2nix generates a dummy derivation
jsaddle-wkwebview = overrideCabal (drv: {
libraryFrameworkDepends = with pkgs.buildPackages.darwin.apple_sdk.frameworks; [ Cocoa WebKit ];
libraryHaskellDepends = with self; [ aeson data-default jsaddle ];
}) super.jsaddle-wkwebview;
} // lib.optionalAttrs pkgs.stdenv.isAarch64 { # aarch64-darwin
# https://github.com/fpco/unliftio/issues/87

View File

@ -3208,7 +3208,6 @@ broken-packages:
- jort # failure in job https://hydra.nixos.org/build/233195250 at 2023-09-02
- joy-rewrite # failure in job https://hydra.nixos.org/build/233201002 at 2023-09-02
- jpeg # failure in job https://hydra.nixos.org/build/233204056 at 2023-09-02
- jsaddle-wkwebview # failure in job https://hydra.nixos.org/build/233242986 at 2023-09-02
- js-good-parts # failure in job https://hydra.nixos.org/build/233198958 at 2023-09-02
- json2 # failure in job https://hydra.nixos.org/build/233242447 at 2023-09-02
- json-alt # failure in job https://hydra.nixos.org/build/233242230 at 2023-09-02

View File

@ -735,6 +735,7 @@ supported-platforms:
htune: [ platforms.linux ] # depends on alsa-pcm
hw-prim-bits: [ platforms.x86 ] # x86 assembler
inline-asm: [ platforms.x86 ] # x86 assembler
jsaddle-wkwebview: [ platforms.darwin ]
keid-core: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)
keid-frp-banana: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)
keid-geometry: [ x86_64-linux ] # geomancy (only x86), vulkan (no i686, no darwin, …)

View File

@ -177255,8 +177255,7 @@ self: {
sha256 = "0r8payj72akz951jmv7frllj8cxpwgjyci7gad7250s7nmnd9f1s";
description = "Interface for JavaScript that works with GHCJS and GHC";
license = lib.licenses.mit;
hydraPlatforms = lib.platforms.none;
broken = true;
platforms = lib.platforms.darwin;
}) {};
"jsc" = callPackage