Commit graph

6231 commits

Author SHA1 Message Date
Malte Brandy 40da6ce074
haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh
2021-06-18 13:22:29 +02:00
sternenseemann e8d2bf944d haskellPackages.tophat: unbreak 2021-06-17 11:25:36 +02:00
sternenseemann 1c3b2aa37b haskellPackages.proto-lens: unbreak 2021-06-17 11:19:24 +02:00
sternenseemann cacae0fc44 haskellPackages.composite-{base,aeson}: unbreak 2021-06-17 11:00:14 +02:00
sternenseemann 1be887ea3f haskellPackages.cabal2nix-unstable: wrap with runtime dependencies 2021-06-17 10:52:43 +02:00
Dennis Gosnell 05e98197ec
Merge pull request #126903 from cdepillabout/hacking.md-for-darwin
haskellPackages: update documentation about Darwin builds
2021-06-17 09:26:29 +09:00
sternenseemann ca264edb1b haskellPackages.table-layout: unbreak 2021-06-16 23:07:32 +02:00
Tommy Bidne faa7f48140 haskellPackages.xmonad-wallpaper: jailbreak
Compiles with random 1.2.0, but bound is too strict at <1.2.

Co-authored-by: sterni <sternenseemann@systemli.org>
2021-06-16 14:27:57 +02:00
sternenseemann 82ba3343c4 haskellPackages.errata: no longer mark as broken
As pointed out here [1], errata has started working on its own again.

[1]: https://github.com/hyperrealgopher/burrow/pull/27#issue-670953936
2021-06-16 11:50:07 +02:00
Joe Hermaszewski 2d95c11e1c nix-linter: 2020-09-25 -> 2021-06-16
Also add to haskellPackages
2021-06-16 11:18:27 +02:00
Joe Hermaszewski d8daa7af73
haskellPackages.shellFor: Work around hoogle generation failure
Workaround for https://github.com/NixOS/nixpkgs/issues/82245

Although this doesn't tackle the root cause of a null package sneaking
in (via executableHaskellDepends), it does effectively treat the symptom
by just ignoring any null packages.

Seeing as that issue has been open for more than a year I think this
band-aid is necessary.
2021-06-16 12:13:49 +08:00
Malte Brandy d1c3389650
haskellPackages.hls-brittany-plugin: dontCheck on darwin 2021-06-15 16:09:54 +02:00
(cdep)illabout d30eff5f90
haskellPackages: update documentation about Darwin builds 2021-06-15 10:52:07 +09: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