Commit graph

6219 commits

Author SHA1 Message Date
Malte Brandy d1c3389650
haskellPackages.hls-brittany-plugin: dontCheck on darwin 2021-06-15 16:09:54 +02:00
sternenseemann a5f7608182 haskellPackages.dhall-{openapi,nix}: unrestrict
stackage has updated to dhall 1.39, so we can update these as well:

haskellPackages.dhall-openapi: 1.0.0 -> 1.0.1

haskellPackages.dhall-nix: 1.1.20 -> 1.1.21
2021-06-14 23:05:21 +02:00
sternenseemann ee899c8c93 haskellPackages.wide-word: remove now unnecessary override 2021-06-14 23:02:10 +02:00
sternenseemann d49e15e746 haskellPackages.hnix-store-{core,remote}: downgrade to < 0.5
hnix 0.13.* doesn't support hnix-store-* >= 0.5 yet, pending some
refactors to get GHC 9.0.x support working. Until that happens,
we downgrade hnix-store-* since nothing needs the new version yet.

https://github.com/haskell-nix/hnix/issues/952
2021-06-14 16:14:43 +02:00
(cdep)illabout ff9db852f0
spago: set earlier dhall dependency 2021-06-14 10:48:56 +09:00
maralorn 222b6c80ac
Merge pull request #126364 from sternenseemann/haskell-test-flags
haskell-generic-builder: allow passing flags to the test suite(s)
2021-06-12 22:53:38 +02:00
sternenseemann f38df6a4cd haskellPackages.safe-coloured-text-*: mark as no longer broken 2021-06-12 21:34:45 +02:00
sternenseemann d5f067260d Revert "haskellPackages.gtk2hs-buildtools: attempt to fix build on aarch64"
This reverts commit 38c4256a96.

The attempt failed, gtk2hs-buildtools still fails with the same linker error.
2021-06-12 21:30:25 +02:00
sternenseemann c9a1f7dc02 haskellPackages.ptr-poker: no longer mark as broken 2021-06-12 21:26:41 +02:00
sternenseemann cea929ddd0 haskell.packages.ghc901.profunctors: fix eval error
Stackage has updated profunctors to 5.6.2, so the override is
unnecessary.
2021-06-12 20:46:04 +02:00
maralorn 564bdae8e5
haskellPackages: HACKING.md: Insert links into template 2021-06-12 19:55:50 +02:00
maralorn 74d7230259
haskellPackages: HACKING.md, clarify PR title 2021-06-12 19:50:36 +02:00
Malte Brandy 9ea19887f6
haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-06-12 19:46:44 +02:00
Malte Brandy 7dd8733cfc
haskellPackages: stackage-nightly 2021-06-01 -> 2021-06-10
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2021-06-12 19:46:44 +02:00
maralorn f3ec332304
haskelPackages: HACKING.md, slight clarification 2021-06-12 19:45:10 +02:00
Malte Brandy 0c8e2c2a11
haskellPackages.mptcp-pm: Disable on darwin to fix eval error 2021-06-12 19:31:13 +02:00
Malte Brandy 6eaf494a83
haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-06-12 19:27:16 +02:00
Malte Brandy 37c8bfc077
haskellPackages.cabal2nix-unstable: Bump for alsa-lib alias 2021-06-12 19:27:16 +02:00
Malte Brandy 7b92c7f795
haskellPackages.hackage-db: Reactivate hydra job 2021-06-12 19:27:16 +02:00
sternenseemann 38c4256a96 haskellPackages.gtk2hs-buildtools: attempt to fix build on aarch64
Linker failure outputs look like they are related to the GClosure stuff,
so lets try disabling that flag on arm — originally the upstream cabal
file disabled that flag by default if arch != x86_64-linux || != sparc64,
so this seems to be actually correct.
2021-06-12 18:37:49 +02:00
sternenseemann c0d39d26a5 haskell.packages.ghc901.retry: dont build test suite
Test suite doesn't build with GHC 9.0.1 and since upstream is
currently not invested in fixing it, we (temporarily) disable it.

Upside: we can build hoogle again.

https://github.com/Soostone/retry/issues/71
2021-06-12 00:50:36 +02:00
sternenseemann 71ffc07f4e haskellPackages.cabal2nix-unstable: 2021-06-10 -> 2021-06-12
Adds support for GHC 9.0.x which we also test by compiling it with all
available GHC versions on Hydra.
2021-06-12 00:36:30 +02:00
sternenseemann 922a444b27 Merge remote-tracking branch 'origin/master' into haskell-updates 2021-06-11 21:14:29 +02:00
sternenseemann f8c8bb04a5 haskell.packages.ghc901.mono-traversable: unbreak
GHC 9.0.x seems to require that the `Main` module also defines the
`main` IO action and does not just import it. This is the case with
mono-traversable's test suite which is why we (temporarily) disable it.
2021-06-10 15:35:50 +02:00
sternenseemann 362c8da809 haskell.packages.ghc901.cryptonite: 0.28 -> 0.29
0.29 supports GHC 9.0.x which is why we upgrade. Interesting because
cabal2nix depends on cryptonite.
2021-06-10 15:34:27 +02:00
sternenseemann c6ed4577ab haskell.packages.ghc901.memory: 0.15 -> 0.16
Upgrade to 0.16 which has GHC 9.0.x support. Interesting since
cabal2nix depends on memory.
2021-06-10 15:33:30 +02:00
sternenseemann c145f7930d haskellPackages.hackage-db: downgrade to 2.1.0 if Cabal < 3.4
Stackage Nighly recently upgraded their version of hackage-db from 2.1.0
to 2.1.1. 2.1.1 had a compatibility fix for Cabal 3.4 [1]. However it
did not increase the version bound on Cabal nor fails to compile with
Cabal 3.2, so Stackage was able to update it.

Unfortunately hackage-db with Cabal 3.2 causes observable issues [2]
in cabal2nix, so we need to downgrade it for all compilers that still
ship a Cabal version < 3.4.

Also ideally we should update the constraints for hackage-db 2.1.0 and
hackage-db 2.1.1 on hackage. See also [3].

[1]: https://github.com/peti/hackage-db/pull/12
[2]: https://github.com/NixOS/cabal2nix/issues/501
[3]: https://github.com/peti/hackage-db/pull/14
2021-06-10 15:30:13 +02:00
sternenseemann 35a73693f4 haskellPackages: remove deprecated aliases mysql and utillinux
These attribute names were converted into aliases in the following
changes:

* 62733b37b4
* https://github.com/NixOS/nixpkgs/pull/104776

cabal2nix-unstable has been updated to be aware of these changes in
7a9080d774, so these aliases should no
longer cause issues when evaluating with `allowAliases = false`.
2021-06-10 14:10:39 +02:00
sternenseemann 7a9080d774 haskellPackages.cabal2nix-unstable: 2021-05-28 -> 2021-06-10 2021-06-10 14:07:46 +02:00
Potato Hatsue 233087eb79 haskellPackages.nvfetcher: move overrideCabal to configuration-nix.nix 2021-06-10 09:50:57 +02:00
AndersonTorres e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
sternenseemann 57ec1813ff haskell-generic-builder: allow passing flags to the test suite(s)
Every flag the generic builder receives via `testFlags` is passed via
`--test-option` [1] to `Setup.hs` which in turn passes them to the
underlying test suite binary. These wrapped options are added to
`checkFlagsArray` in `checkPhase`. This needs to be done in bash since
without structuredAttrs in nixpkgs so far, Nix arrays aren't properly
translated into bash arrays, so we'd have all sorts of quoting issues
when spaces are involved.

Re-using `checkFlags` and `checkFlagsArray` from standard stdenv
setup.sh also results in an additional feature: Using `overrideAttrs`
`checkFlags` and `checkFlagsArray` can additionally be overridden,
which allows passing extra flags to `Setup.hs` whithout being wrapped
with `--test-option`.

[1]: See also https://cabal.readthedocs.io/en/3.4/setup-commands.html?highlight=test-option#cmdoption-runhaskell-Setup.hs-test-test-option
     According to the cabal-install man page this also allows passing
     special variables which are substituted for other values
     depending on context.
2021-06-09 15:09:00 +02:00
sternenseemann 8ba5828c24 haskellPackages: update list of transitively broken packages 2021-06-09 12:41:02 +02:00
sternenseemann f1692c9431 haskellPackages.parallel-io: remove now unnecessary override 2021-06-09 12:32:07 +02:00
Matthieu Coudron 121fdde827 haskellPackages.wide-word: unbreak
tests added breaking constraints which seem safe to lift.

Co-authored-by: sterni <sternenseemann@systemli.org>
2021-06-09 12:22:00 +02:00
sternenseemann 13c72a9a82 haskellPackages.dhall-{nix,openapi}: pin to support dhall 1.38.* 2021-06-08 12:50:05 +02:00
sternenseemann 0b4e5efe09 haskellPackages.discord-haskell: build example binaries again
This reverts commit 683d06d4ae. upstream
resolved the issue we were experiencing.
2021-06-08 12:50:05 +02:00
sternenseemann d7b18cba1a haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2021-06-08 12:50:05 +02:00
sternenseemann 683d06d4ae haskellPackages.discord-haskell: unbreak 2021-06-06 18:40:13 +02:00
sternenseemann 670d6ac458 haskell-generic-builder: fix buildTarget specification if isLibrary
If we don't pass buildTarget to ./Setup copy and buildTarget is not
empty it will try installing targets that don't exist and thus fail.
2021-06-06 18:40:13 +02:00
sternenseemann 05813f4bf4 hackage2nix: Mark failing builds broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-06-06 18:07:16 +02:00
sternenseemann 1fca83e1b6 haskellPakcages.reactive-balsa: disable on darwin 2021-06-06 17:57:14 +02:00
sternenseemann 778f07cea8 hackage2nix: Mark failing builds broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-06-06 17:27:18 +02:00
ernestkz bd103151ea haskellPackages.reactive-banana: unbreak
Co-authored-by: sterni <sternenseemann@systemli.org>
2021-06-06 16:48:37 +02:00
sternenseemann 5591b8e1fc haskell.packages: let me maintain some more packages 2021-06-06 01:27:00 +02:00
sternenseemann e4d21886f4 haskellPackages.tophat: unbreak 2021-06-05 18:39:33 +02:00
sternenseemann 776e8fd668 haskellPackages.nri-redis: disable tests
They require a local redis daemon running.
2021-06-05 17:56:33 +02:00
maralorn b93c4e462b
Merge pull request #125805 from maralorn/static-cabal2nix
haskellPackages.cabal2nix-unstable: Use justStaticExecutables
2021-06-05 17:37:51 +02:00
Malte Brandy 51f2030430
haskellPackages.cabal2nix-unstable: Use justStaticExecutables 2021-06-05 16:55:24 +02:00
sternenseemann 24a4c65ca9 haskellPackages.pandoc-crossref: downgrade to retain pandoc 2.13 support 2021-06-05 12:59:38 +02:00