Commit Graph

57 Commits

Author SHA1 Message Date
Ellie Hermaszewska
7041bc7a1f
haskellPackages.streamly-0.9.0: Add required framework on Darwin 2023-05-31 08:26:53 +08:00
Dennis Gosnell
90fd702950
Merge pull request #234132 from reckenrode/http2-darwin-fix
haskellPackages.http2: fix build with Darwin sandbox enabled
2023-05-26 22:36:09 +09:00
Randy Eckenrode
9b1c02ede8
haskellPackages.http2: fix build with Darwin sandbox enabled 2023-05-25 23:59:16 -04:00
Randy Eckenrode
217ed5437c
haskellPackages.yesod-core: fix build with Darwin sandbox enabled 2023-05-25 23:58:32 -04:00
sternenseemann
bc6c2ee545 rure: fix darwin dylib names
This hasn't been an issue on x86_64, but running it anyways shouldn't
hurt. aarch64-darwin's trouble could be due to codesigning? Besides that
there don't seem to be many differences between the actual derivations.

This also unbreaks the test suite of regex-rure.
2023-03-13 02:15:10 +01:00
sternenseemann
41c538f80f haskellPackages.regex-rure: mark broken on aarch64-darwin 2023-03-11 12:22:48 +01:00
sternenseemann
7f65851908 Revert "haskellPackages.heystone: fix darwin dylibs"
This reverts commit 32eecc6cc9.

Reason for revert: This fix doesn't alleviate the problem in two ways:

1. It is in the aarch64-darwin section of configuration-darwin.nix,
   the problem appears on x86_64-darwin (bytepatch doesn't support
   aarch64).

2. When moving the override into the general *-darwin section, the
   problem with bytepatch is also unaffected, see my attempt in
   https://github.com/NixOS/nixpkgs/pull/217201.
2023-02-23 13:26:17 +01:00
sternenseemann
ea113b94f4 haskellPackages.hmidi: provide necessary frameworks on darwin 2023-02-15 00:47:32 +01:00
Dennis Gosnell
32eecc6cc9
haskellPackages.heystone: fix darwin dylibs 2023-02-12 11:25:33 +09:00
Weijia Wang
f22cb23840 agda: fix build on aarch64-darwin 2023-01-22 02:26:28 +01:00
Naïm Favier
ea84ce7593
haskellPackages: fixes 2022-11-21 15:32:41 +01:00
maralorn
7e53f5f41c haskellPackages.fourmolu_0_9_0_0: Fix build 2022-11-18 12:54:51 +01:00
Rebecca Turner
e0f2f2b676
ormolu/fourmolu: Fix build on aarch64-darwin 2022-10-19 12:23:15 -04:00
Alex Wied
da501f8808 haskellPackages.streaming-commons: Fix sandboxed build on Darwin 2022-08-25 00:53:59 -04:00
Andrew Dunham
3f4d5f2cf8 haskellPackages.rio: skip a broken test on aarch64-darwin 2022-07-03 20:46:55 +01:00
Ellie Hermaszewska
c9979ff597
haskellPackages.hls-rename-plugin: disable flaky tests on Darwin 2022-05-05 10:12:18 +08:00
sternenseemann
1b5d09ccb6 Merge remote-tracking branch 'origin/master' into haskell-updates 2022-05-04 14:24:30 +02:00
Artturin
c52b904e66 haskellPackages.streamly: fix darwin override
fixes
```
error: querying available packages failed
caused by: nix-env failed with error: nix-env failed with exit code 1:
error: attribute 'streamly_0_8_1_1' missing

       at /nix/store/lw6gp8rrhd7lpi81dk9wr1l09a7za523-source/pkgs/development/haskell-modules/configuration-darwin.nix:259:6:

          258|     ] ++ (drv.libraryFrameworkDepends or []);
          259|   }) super.streamly_0_8_1_1;
             |      ^
          260|
```

PR #160733 didn't catch this it seems.
2022-05-04 13:57:37 +03:00
Ellie Hermaszewska
6a8a22133f
haskellPackages.jacinda: disable tests only on x86_64-darwin 2022-05-04 10:23:39 +08:00
Dennis Gosnell
50bdc1e59e
haskellPackages.regex-rure: disable tests only on x86_64-darwin 2022-04-30 12:05:26 +09:00
Robert Hensing
517cb71b02 haskellPackages.inline-c-cpp: Fix tests on darwin 2022-04-01 16:56:31 +02:00
Robert Hensing
71f2c74efb haskellPackages.cryptonite: Disable Argon2 on aarch64-darwin
A workaround for packages that don't use this hash function.
See https://github.com/haskell-crypto/cryptonite/issues/360
2022-03-08 12:01:23 +01:00
sternenseemann
41ac9ddde0 haskellPackages.reflection: disable tests for GHC 9.0.2 everywhere
Thanks to Ryan Scott's investigation it became clear this crash can also
happen on Linux and thus seems to be a general issue in GHC 9.0.2 (only,
luckily). We'll disable the test suite everywhere for now, but the
prospect of this crash / incorrect runtime result is a bit ominous.
Refer to the [ghc-issue] for details.

[ghc-issue]: https://gitlab.haskell.org/ghc/ghc/-/issues/21141
2022-02-26 10:10:16 +01:00
sternenseemann
028b0da11b haskellPackages.reflection: disable test suite on darwin
The test suite crashes with a memory access violation or similar, seems
like a possible RTS bug, reported to reflection upstream for now.
2022-02-26 00:40:23 +01:00
Malte Brandy
69ae736f00 haskellPackages.streamly: Fix darwin build 2022-02-25 23:34:54 +01:00
sternenseemann
187ac25b8e haskellPackages.foldl: force rebuild on darwin
See comment and message for 2341c7e485.
2022-01-03 16:31:32 +01:00
sternenseemann
2341c7e485 haskellPackages.http-client-tls: force rebuild on darwin
Currently everything seems like the derivation's outPath has been
corrupted somehow, causing reverse dependencies to fail. Since we can't
purge store paths from Hydra and the binary cache easily at the moment,
we just make the derivation hash change by inserting an unsubstantial
change, causing Hydra to build this package and all reverse dependencies
again — hopefully successfully this time around.
2022-01-03 14:50:21 +01:00
sternenseemann
124a9ddaf7 haskellPackages.ghcup: reflect streamly hackage update 2021-12-08 12:16:55 +01:00
sternenseemann
ecc88d7a5c haskellPackages.ghcup: reflect streamly hackage update 2021-12-03 12:01:45 +01:00
sternenseemann
d25b3d60af haskellPackages.streamly_0_8_0: provide new dep Cocoa on darwin 2021-11-09 13:07:02 +01:00
sternenseemann
a8bf7797ed haskellPackages.dsv: run now fixed test suite 2021-11-08 23:17:43 +01:00
sternenseemann
07c7f8e267 haskellPackages.assoc-list{,like}: run now fixed test suite 2021-11-08 22:25:41 +01:00
Ellie Hermaszewska
15ae25f36c
haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
Malte Brandy
9a6d6c36e7
haskellPackages.hls-call-hierarchy-plugin: dontCheck on darwin 2021-09-30 11:39:38 +02:00
Domen Kožar
75e78ebaec cachix: fix build on aarch64-darwin 2021-08-28 14:53:11 +02:00
Malte Brandy
abd4b28a10
haskellPackages.hls-floskell-plugin: dontCheck on darwin 2021-08-25 19:20:17 +02:00
Malte Brandy
31b0b7f654
haskellPackages.hls-haddock-comments-plugin 2021-08-18 11:43:02 +02:00
Malte Brandy
0544ee558e
haskellPackages.hls-pragmas-plugin: dontCheck on darwin 2021-08-18 11:34:15 +02:00
lukasepple
6978384f21 haskellPackages.c2hsc: fix build on darwin 2021-08-06 15:44:18 +02:00
lukasepple
cecc6ad4d5 haskellPackages.acid-state: disable tests on darwin
Let upstream deal with the resource exhaustion issue, probably the stress
test is a bit too optimistic for darwin's fd limits or whatever.
2021-08-06 15:13:55 +02:00
lukasepple
f754109ecf haskellPackages: fix build failures related to test main file casing
A few libraries published by https://github.com/typeclasses/ have the issue
that they have a test suite with its Main module in hegehog.hs. On darwin
GHC can't distinguish between Hedgehog.hs and hedgehog.hs due to the case
insensitive file system and will raise an issue about this.
2021-08-06 14:56:42 +02:00
sternenseemann
0e0fbc6760 haskellPackages.SDL-image: fix build on darwin
Interestingly SDL-image exhibits both the problems of SDL-mixer and SDL-ttf
have. How the respective fixes we apply here as well work is explained in
1a68ebf98573291fc4a8d8e7b35ea2e74a0d6665 and
2a8105fc58644307007f326de25b357d216d3ad7.
2021-08-06 14:39:22 +02:00
sternenseemann
e41518821d haskellPackages.SDL-mixer: fix build on darwin
SDL-mixer's configure script makes some darwin specific assumptions about
the layout of the SDL libraries which don't hold up with the way they are
packaged in nixpkgs. Since the way we are doing this on other platforms
works with the configure script and doesn't significantly differ from the
situation on darwin, we can just replace a string in a string comparison
to ensure the non-darwin code path is taken.
2021-08-06 14:39:22 +02:00
sternenseemann
9a32fd5c49 haskellPackages.SDL-ttf: fix build on darwin
SDL_main.h which is included from SDL_ttf.h contains a #define which redefines
main to SDL_main. This has to do with the way SDL binaries are linked and
executed on darwin which is explained here [1]. However this is bad news for
hsc2hs intermediate C sources which in this case only to gather version
information from the headers and not to run a full SDL application.

Thus compilation would fail due to this issue which we can avoid by redefining
main to main again after including the header.

[1]: http://www.ariis.it/link/repos/sdl-bindings/hssdl-image/MACOSX
2021-08-06 14:39:22 +02:00
sternenseemann
9a39115172 haskellPackages.GLHUI: fix build on darwin 2021-08-06 14:39:22 +02:00
sternenseemann
964abed995 haskellPackages.cas-store: fix build on darwin by providing kqueue
kqueue is a conditional dependency which is added via a cabal conditional
which we need to emulate manually.
2021-08-06 03:34:09 +02:00
lukasepple
070d43bcb2 haskellPackages.blas-hs: fix on darwin by providing Accelerate 2021-08-06 03:14:57 +02:00
sternenseemann
2b5949d67d haskellPackages.al: fix build on darwin by providing OpenAL 2021-08-06 03:01:54 +02:00
Malte Brandy
ccc855d475
haskellPackages.hls-ormolue-plugin: dontCheck on darwin 2021-08-03 23:02:05 +02:00
Malte Brandy
ef6f25e6ff
haskellPackages.hls-slice-plugin: dontCheck 2021-06-27 12:01:51 +02:00