3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

14 commits

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