Commit graph

6365 commits

Author SHA1 Message Date
sternenseemann
5bb192fb96 haskellPackages.gtk-mac-integration: mark as broken
It has a constraint on an old version of gtk, so doesn't build and seems
abandoned (no release since 2017, copyright notice year range ends with
2010).
2021-08-06 15:07:57 +02:00
sternenseemann
22b39c2a36 haskellPackages.geomancy: restrict platforms to x86
Won't build on e. g. aarch64 due to its use of x86 architecture specific
features.
2021-08-06 15:03:34 +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
c66cc62b6c haskellPackages.ats-format: ignore custom Setup.hs, install manually
ats-format has a custom Setup.hs which does the following using cli-setup:

* Add ~/.local/share/man to $MANPATH by editing shell configurations in $HOME.

* Install a man page into ~/.local/share

* Install a shell completion by editing shell configurations in $HOME.

We had a workaround to keep this from failing the build in the nix sandbox, but
this seemingly broke on darwin. To fix this once and forall, we force the use
of only `defaultMain` in Setup.hs and install the man page manually.
Additionally we generate completions and remove unnecessary extra references
from the closure.
2021-08-06 11:28:54 +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
sternenseemann
ff09b0fe44 haskellPackages.kqueue: mark as unbroken
This was marked as broken by mistake: It builds fine, but just on darwin
which is to be expected as it is binding to an API not available on
Linux.
2021-08-06 03:24:10 +02:00
sternenseemann
df69f9af32 haskellPackages.{bindings-parport,btrfs}: unsupported on darwin
These are both packages which depend on the Linux kernel (or its
headers) and won't work on darwin.
2021-08-06 03:21:04 +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
sternenseemann
e24df47756 haskellPackages.hQu: disable on some unsupported platforms 2021-08-05 08:37:39 +02:00
sternenseemann
9cde21d4cd haskellPackages.Jikka: fix build on aarch64
Disable doctests as workaround for RTS bug.
2021-08-05 08:35:07 +02:00
sternenseemann
11f7ebc1f7 haskellPackages.Chart-tests: fix build on aarch64
Another one for the no doctests list.
2021-08-05 08:30:22 +02:00
sternenseemann
31b625666e haskellPackages.gtk2hs-buildtools: attempt to fix on aarch64-linux
We employ a workaround for a GHC bug [1] which has been adopted by both
Debian and Fedora for a eerily similar problem on ppc64le. Hopefully
this fixes our aarch64 issue as well (untested so far). -O0 is not
ideal, but compilation with -fllvm fails when linking (due to an
invalid relocation and passing -fPIC wasn't enough to fix it), so
we're stuck with this for now.

[1]: https://gitlab.haskell.org/ghc/ghc/-/issues/17203
2021-08-04 22:36:53 +02:00
sternenseemann
d6df0aba80 haskellPackages: update list of transitively broken packages 2021-08-04 21:53:20 +02:00
Julio César
dee266e36d haskellPackages.beam-core: unbreak via jailbreak 2021-08-04 21:53:02 +02:00
sternenseemann
dccf695448 haskellPackages.base16: unbreak
Test suite depends on an old version of base16-bytestring (but has not
set up constraints for it). Can't be bothered to add an old version of
it, let's just disable the test suite for now. This should fix itself
sooner or later.
2021-08-04 21:36:14 +02:00
sternenseemann
8de90d2779 haskellPackages.git-annex: adjust hash for 8.20210803 2021-08-04 20:29:47 +02:00
sternenseemann
1d6ac18d11 haskellPackages: fix evaluation problems related to haskeline_0_8_2
haskeline_0_8_1_2 was removed as the hackage version updated.
2021-08-04 13:04:41 +02:00
sternenseemann
9a279c6a17 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-08-04 12:35:59 +02:00
Ivan Malison
8f57477c0b haskellPackages.notifications-tray-icon: mark as unbroken 2021-08-04 12:34:39 +02:00
sternenseemann
de9218ddb4 haskellPackages: stackage-lts 18.4 -> 18.5
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2021-08-04 12:34:01 +02:00
sternenseemann
cb3d4bc196 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-08-04 00:33:57 +02:00
Malte Brandy
ccc855d475
haskellPackages.hls-ormolue-plugin: dontCheck on darwin 2021-08-03 23:02:05 +02:00
sternenseemann
9980dffc9b haskellPackages.tmp-postgres: disable flaky deps 2021-08-01 18:34:43 +02:00
sternenseemann
0dfe202312 haskellPackages.cabal2nix-unstable: fix distribution-nixpkgs override 2021-07-30 11:47:53 +02:00
sternenseemann
4eb88b29d2 all-cabal-hashes: 2021-07-26T15:54:23Z -> 2021-07-29T16:00:40Z
This commit has been generated by maintainers/scripts/haskell/update-hackage.sh

Additional changes:

* haskellPackages.distribution-nixpkgs: allow 1.6.0

* haskellPackages: regenerate using
  `maintainers/scripts/haskell/regenerate-hackage-packages.sh`.
2021-07-30 11:25:05 +02:00
sternenseemann
be33e5f401 haskellPackages.cabal2nix-unstable: 2021-07-21 -> 2021-07-29 2021-07-30 11:25:04 +02:00
sternenseemann
8694e478d2 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-07-29 17:18:10 +02:00
sternenseemann
f6b3d12b4a haskellPackages.streamly-*: unbreak where possible
Most of the failures where caused by being ahead of the stackage
streamly. Old failures for streamly-fsnotify don't happen anymore.
2021-07-29 15:00:54 +02:00
sternenseemann
2eb7828b36 haskellPackages.cabal2nix-unstable: 2021-07-08 -> 2021-07-21
* Regenerate hackage-packages.nix

* Remove now unnecessary workaround for pam
2021-07-26 19:37:41 +02:00
sternenseemann
6e72470ed2 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-07-26 19:02:27 +02:00
sternenseemann
d675e19abb haskellPackages.{hackage-db,distribution-nixpkgs}: new rel. bounds
* no released version of hackage2nix does support distribution-nixpkgs yet.

* hackage-db 2.1.2 fixes an annoying bug introduced in 2.1.1 and also supports
  Cabal 3.4: https://github.com/NixOS/cabal2nix/issues/501
2021-07-26 18:59:58 +02:00
sternenseemann
fafe21b678 haskellPackages: stackage-lts 18.2 -> 18.4
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2021-07-26 18:21:05 +02:00
sternenseemann
703882fb57 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-07-26 17:44:39 +02:00
sternenseemann
19a763458d maintainers/haskell/package-list: minor fixes to documentation
Co-authored-by: Manuel Bärenz <programming@manuelbaerenz.de>
2021-07-26 17:35:40 +02:00
sternenseemann
9dfc62e2b8 haskellPackages: regenerate list of transitively broken pkgs 2021-07-26 11:18:58 +02:00
Dennis Gosnell
38fe121895
Merge pull request #131067 from maralorn/hackage-package-list
pkgs.haskell.package-list: init
2021-07-23 09:14:37 +09:00
Malte Brandy
264e63477d
pkgs.haskell.package-list: init
This commit introduces a maintainer script to upload our current list of
haskell-packages to hackage.
2021-07-22 23:17:37 +02:00
Artur Cygan
ba2e617faf haskellPackages.hevm: unbreak 2021-07-22 13:18:15 +02:00
(cdep)illabout
1d71ffb109
haskellPackages.focuslist: disable checks because doctests incorrectly fail 2021-07-21 16:09:47 +09:00
(cdep)illabout
ce807c7c42
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-07-21 15:04:06 +09:00
(cdep)illabout
7c1347975e
haskell-updates: add documentation for onboarding new member 2021-07-21 10:27:26 +09:00
Malte Brandy
fef688899e
haskellPackages.streamly-bytestring: Pin to 0.1.2 to stay compatible with stackage LTS 2021-07-20 17:35:31 +02:00
Joe Hermaszewski
3199c9188a
haskellPackages.nix-linter: remove unnecessary jailbreak 2021-07-20 18:34:43 +08:00
Gabriel Gonzalez
c2b276292a
Merge pull request #129634 from Anton-Latukha/haskellPackages.upd-hnix-0.14
haskellPackages: allow hnix-store-{core,remote} 0.5
2021-07-18 10:13:24 -07:00
sternenseemann
db84219ded haskellPackages.{rel8,tmp-postgres}: unbreak
1.1.0.0 brings us compatibility with opaleye >= 7.3.0.0, so we can get
rid of the old version as well. tmp-postgres was incorrectly marked as
broken (maybe due to a flaky failure) and can be unmarked.
2021-07-18 12:05:34 +02:00