3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

6417 commits

Author SHA1 Message Date
sternenseemann e4969a6b76 haskellPackages.basic-cpuid: fix build on non-x86
Patch in missing import.
2021-08-06 15:32:15 +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
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
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
(cdep)illabout 627eee1f66
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-07-17 21:47:45 +09:00
Dennis Gosnell c05c892b38
Merge pull request #130426 from cdepillabout/new-haskell-maintainer
haskell-updates: add explanation for adding new NixOS/haskell member
2021-07-17 21:23:25 +09:00
(cdep)illabout cd1fedf77b
git-annex: bump hash for latest version 2021-07-17 19:21:38 +09:00
(cdep)illabout bdf47ab600
haskell-updates: add explanation for adding new NixOS/haskell member 2021-07-17 14:40:38 +09:00
(cdep)illabout 1a9b069849
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-07-17 14:16:20 +09:00
(cdep)illabout dc4ffe1e1d
haskellPackages: stackage-lts 18.1 -> 18.2
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2021-07-17 14:14:50 +09:00
(cdep)illabout 19633b7ea9
haskellPackages: sort transitive-broken list correctly 2021-07-17 11:51:44 +09:00
(cdep)illabout f3d08d4b91
haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-07-17 11:04:51 +09:00
sternenseemann d288d874a8 haskellPackages.Agda: enable extra optimisations
See https://hackage.haskell.org/package/Agda-2.6.2/changelog
2021-07-14 22:51:07 +02:00
Viacheslav Lotsmanov 707671dae2
haskellPackages.shellFor: Fix typo in the comments
“hpkgs” → “haskellPkgs”
2021-07-12 11:35:09 +09:00
sternenseemann f19fff9134 haskellPackages.rel8: unbreak by providing older opaleye 2021-07-11 13:37:40 +02:00
Vaibhav Sagar 4869c88626 haskell.packages.ghc901: use hlint_3_3_0 instead of hlint_3_3_1
The former attribute got removed due to an upstream update.
2021-07-10 12:36:37 +02:00
sternenseemann 3a6f8567a6 haskellPackages.large-hashable: unbreak
The source tarball now has DOS line endings for some reason, requiring
the use of dos2unix. Also needs a jailbreak since the template-haskell
bound has become too strict.
2021-07-09 16:38:25 +02:00
Joe Hermaszewski dc5420fbe8
haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-07-09 17:04:26 +08:00
sternenseemann d5d44479c1 haskellPackages.graphql: unbreak
Upstream introduced too strict lower bounds in a new release. Since it's
too much hassle to create a new account in their redmine just for this
issue, I've used asserts to indicate when this will be able to be
removed.
2021-07-08 14:04:11 +02:00
sternenseemann 1088e55baf haskellPackages.cabal2nix-unstable: 2021-06-12 -> 2021-07-08 2021-07-08 12:35:35 +02:00
Joe Hermaszewski 30632123fb
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-07-08 13:29:00 +08:00
Joe Hermaszewski ce0e82b315
haskellPackages: stackage-lts 18.0 -> 18.1
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2021-07-08 10:36:18 +08:00
Joe Hermaszewski 4af078aec8
haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-07-07 22:25:01 +08:00
github-actions[bot] 015c6d73ad
Merge master into haskell-updates 2021-07-04 00:05:27 +00:00
maralorn 1e61298bf5
Merge pull request #129093 from siraben/haskell-mainProgram
haskell-generic-build: allow mainProgram to be set
2021-07-03 13:45:40 +02:00
Ben Siraphob 06fb9a9421 haskell-generic-build: allow mainProgram to be set 2021-07-03 15:52:39 +07:00
sternenseemann 83e723aa17 haskellPackages.git-annex: update hash for 8.20210630 2021-07-03 00:36:01 +02:00
Joe Hermaszewski b1cfbd04de
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-07-02 21:05:50 +08:00
Joe Hermaszewski 93e565b717
haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-07-02 18:35:55 +08:00
Joe Hermaszewski 79fb3e33c5
haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-06-30 23:18:49 +08:00
Joe Hermaszewski dfdc6ad216
haskellPackages.rel8: dontCheck
Flakey tests, upstream issue: https://github.com/circuithub/rel8/issues/86
2021-06-29 21:07:51 +08:00
sternenseemann 6955f4e4e6 haskell-generic-builder: support badPlatforms
meta.badPlatforms allows us to exclude specific platforms from the list
of supported platforms without the need to explicitly substract it from
lib.platforms.all (or our inferior equivalent allKnownPlatforms) in
platforms. Thus it'll map nicely to unsupported-platforms in the
hackage2nix configuration in the future.
2021-06-27 18:32:28 +02:00
Malte Brandy 175aa37e75
haskellPackages.gi-wnck: Unsupported on darwin 2021-06-27 14:29:45 +02:00
Malte Brandy 39609a8ccd
haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-06-27 13:08:20 +02:00
Malte Brandy ee5d60e0b9
haskellPackages.matrix-client: Set maralorn as maintainer 2021-06-27 12:12:18 +02:00
Malte Brandy b96f5abe4d
haskellPackages.matrix-client: dontCheck 2021-06-27 12:07:48 +02:00
Malte Brandy ef6f25e6ff
haskellPackages.hls-slice-plugin: dontCheck 2021-06-27 12:01:51 +02:00
Olli Helenius fd6e91c0c7 haskellPackages.gi-wnck: broken -> unbroken
It now links against correct version of libwnck.
2021-06-27 11:53:34 +02:00
Malte Brandy 3e61745b53
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-06-26 15:13:12 +02:00
Tommy Bidne 4d5ef43b9c
haskellPackages.xmonad-wallpaper: remove jailbreak
Removing jailbreak as upstream issue has been fixed:

https://github.com/yeyan/xmonad-wallpaper/issues/2
2021-06-25 14:02:08 +12:00
maralorn dba40dfcf5
Merge pull request #127658 from sternenseemann/haskell-generic-builder-pname-version
haskell-generic-builder: pass pname and version as is
2021-06-22 23:41:27 +02:00
Malte Brandy 33c6c74d09
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-06-22 23:36:48 +02:00
Malte Brandy 37919f9f1e
haskellPackages.stripeapi: Mark broken because of consistent build timeout 2021-06-22 23:24:48 +02:00
Malte Brandy f259654a78
haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-06-22 23:05:35 +02:00
Malte Brandy 8d9926fe65
haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-06-22 21:52:15 +02:00
sternenseemann 5a1ff51ed3 haskellPackages.git-annex: fix hash mismatch on darwin 2021-06-22 18:11:25 +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