1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00
Commit graph

6360 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 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
sternenseemann ff83117733 haskellPackages.nix-linter: unbreak for hnix 0.14
Change to pname is necessary in order to not confuse jailbreak-cabal.
2021-07-18 11:40:50 +02:00
sternenseemann f93409efb9 haskellPackages.hnix: build with relude 1.0.0.1 and semialign 1.2
hnix needs these versions since 0.13, but we previously patched it to
use the versions tracked in stackage because that reduces the risk of
multiple versions of a package being propagated in the dependency tree
and breaking a build.

One major release later, patching hnix has become quite cumbersome, so
we'll bite the bullet for now and return to this approach if any
problems come up.
2021-07-18 11:19:50 +02:00
Anton-Latukha 65cdac5e48 haskellPackages: regenerated hackage-packages.nix 2021-07-18 11:15:14 +02:00
Anton-Latukha b254189ee6 haskellPackages: add myself as a maintainer for packages 2021-07-18 11:15:13 +02:00
Anton-Latukha fca4c19c2b haskellPackages: allow hnix-store-{core,remote} 0.5
These were blocked due to mutual desigion during me<>`sternenseemann`
discussion.
https://github.com/haskell-nix/hnix/issues/952

In short:

I shipped my own work (to support GHC 9.0) in the 0.5 releases of
`hnix-store-{core,remote}`.

These packages are really used only by `hnix` itself, and instead of maintaining
them in Nixpkgs & reacting on `hnix` release, we decided to hold them back &
switch to these versions when `hnix` provides support for them.

I just (today) released `hnix` 0.14 & it requires `hnix-store-{core,remote}`
0.5.

If you would look at dependency tree:
https://packdeps.haskellers.com/reverse/hnix-store-core
https://packdeps.haskellers.com/reverse/hnix-store-remote

It shows that `hnix` currently is the only alive use of these projects.
2021-07-18 11:15:13 +02:00