Commit graph

36 commits

Author SHA1 Message Date
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
sternenseemann d7d3eace87 haskellPackages.tmp-postgres: disable tests on darwin
The tests use pgrep which is not packaged for darwin yet as we are
lacking some private / non open source headers for it to compile.

May be resolvable in the future.
2021-06-22 16:00:19 +02:00
Malte Brandy 101c585770
haskellPackages.hls-module-name-plugin: Disable checks on darwin 2021-06-22 04:23:46 +02:00
Malte Brandy 17af0071b5
haskellPackages.haskell-language-server: Fix darwin and aarch64 builds 2021-06-21 01:39:01 +02:00
Malte Brandy d1c3389650
haskellPackages.hls-brittany-plugin: dontCheck on darwin 2021-06-15 16:09:54 +02:00
Malte Brandy a1b16d9782
haskellPackages.hls-class-plugin: Disable tests on darwin 2021-05-25 13:00:46 +02:00
sternenseemann 227cfc24fe haskellPackages.HTF: attempt to fix test suite on darwin
A script used at test time in HTF assumes that you have GNU coreutils
installed in a manner where all executables are prefixed with a `g`.
Since we use GNU coreutils in the stdenv anyways, this is not necessary
and needs to be patched out.
2021-05-09 09:48:14 +02:00
sternenseemann 312d3bf74b haskell.packages: move darwin-specific overrides into their own config 2021-05-08 19:56:05 +02:00