Commit Graph

24 Commits

Author SHA1 Message Date
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