Commit Graph

2473 Commits

Author SHA1 Message Date
sternenseemann
bdaf941e39 haskellPackages.hercules-ci-*: fix eval with haskell.lib.compose
PR was merged after the switch to haskell.lib.compose by default, but
originally created before that day, so the argument order used was
completely wrong, but CI didn't show it, because its state was stale.
2021-11-14 16:36:30 +01:00
sternenseemann
6327d72c55 haskellPackages.ghcide: allow newer implicit-hie-cradle
0.4 is current on hackage, but ghcide has a constrait < 0.4
2021-11-14 00:36:43 +01:00
Utku Demir
ac15a841cd haskellPackages.nix-tree: Build with a supported brick version
`nix-tree >= 0.19` requires `brick >= 0.64` which is not the default
on the stackage resolver yet. This commit adds an override for the correct
version.
2021-11-13 22:50:37 +01:00
Ellie Hermaszewska
7748bd20a3
haskellPackages.hadolint: overrideScope for correct dependency versions 2021-11-13 14:11:46 +08:00
sternenseemann
f618f8ba38 haskellPackages: adjust overrides for hspec update
The latest available version of hspec is now hspec* 2.8.4.
2021-11-12 12:41:16 +01:00
sternenseemann
51eed17da0 haskellPackages: adjust overrides for doctest update
* haskell.packages.ghc9{0,2}1.doctest: 0.18.1 -> 0.18.2

* haskell.packages.ghc921.doctest: drop now obsolete patch

* haskellPackages.hledger-lib_1_23: reflect doctest update
2021-11-12 10:44:22 +01:00
(cdep)illabout
804bb2546d haskellPackages.purenix: get building 2021-11-11 10:01:30 +09:00
(cdep)illabout
749f0c355e haskellPackages.purescript: get building again 2021-11-11 10:01:30 +09:00
(cdep)illabout
ea8a637c66 haskellPackages.purescript-cst: get building 2021-11-10 13:42:38 +09:00
sternenseemann
398a948191 haskellPackages.ghcup: fix libyaml-streamly inheriting stale broken
overrideScope applies an overlay that fixes the build error for
libyaml-streamly, however the (correct) broken state of the package in
the normal package set is incorrectly inherited, so a markUnbroken is
required.
2021-11-08 23:54:26 +01:00
sternenseemann
50f969fb18 haskellPackages.git-annex: update sha256 for 8.20211028 2021-11-08 23:35:54 +01:00
sternenseemann
6ec50700ae haskellPackages.base16: run now fixed testsuite 2021-11-08 22:06:59 +01:00
sternenseemann
e4bb4090ac haskellPackages.plots: remove now unnecessary jailbreak 2021-11-08 22:06:47 +01:00
Ellie Hermaszewska
15ae25f36c
haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
Ellie Hermaszewska
8b7c314eae
haskellPackages.lua: remove unnecessary patch 2021-11-07 18:48:42 +08:00
Ellie Hermaszewska
62ecf444fe
haskellPackages.hledger_1_23: override hledger-lib dependency version 2021-11-07 16:39:31 +08:00
Ellie Hermaszewska
64a5e322cb
haskellPackages.hadolint: patch to permit our language-docker version 2021-11-05 19:30:00 +08:00
Ellie Hermaszewska
7a2ef11ae1
haskellPackages.ghcup: overrideScope for new versions and jailbreak 2021-11-05 17:10:00 +08:00
Ellie Hermaszewska
be3aabda6b
haskellPackages.haskell-ci-unstable: bump attoparsec dependency 2021-11-05 17:10:00 +08:00
Ellie Hermaszewska
02fb0e2202
haskellPackages.ghcup: remove obsolete test fix 2021-11-05 17:10:00 +08:00
Ellie Hermaszewska
a744a7413d
haskellPackages.language-docker: remove obsolete fix 2021-11-05 15:42:29 +08:00
Ellie Hermaszewska
0669baa827
haskellPackages.hnix: bump semialign dependency 2021-11-05 15:42:29 +08:00
sternenseemann
a8d2181317 haskellPackages: update diagrams-related packages to latest hackage
Since https://github.com/diagrams/diagrams/issues/26 has been solved,
all diagrams-related libs finally work together in their latest version
and we can remove the constraints on the following updated packages.

* haskellPackages.monoid-extras: 0.5.1 -> 0.6

* haskellPackages.diagrams-lib: 1.4.3 -> 1.4.4

  Also allows us to get rid of a patch for optparse-applicative 0.16 support.

* haskellPackages.dual-tree: 0.2.2.1 -> 0.2.3.0

  Allows us to drop jailbreak.

* haskellPackages.diagrams-core: 1.4.2 -> 1.5.0

  Allows us to drop jailbreak.

Some reverse dependencies of said libraries had too strict bounds, but
fortunately no new regressions (as far as I am aware) have been
introduced. Jailbreaks were needed for:

* diagrams-braille
* Chart-diagrams
* namespace
* plots
* Chart-tests
2021-10-28 17:55:35 +02:00
sternenseemann
f7ce5752d7 haskellPackages.Chart-tests: fix override
preCheck should reuse the old preCheck phase, not the postPatch
phase (which for example would contain the jailbreak-cabal call). Also
use overrideCabal which should have less pitfalls in this context.
2021-10-28 17:55:35 +02:00
sternenseemann
a561e73b9e haskellPackages.matterhorn: provide up to date brick
Fails to compile with stackage's brick version and additionally depends
on packages depending on brick, so overrideScope is necessary. Should be
fine as this is a leaf package.
2021-10-24 20:16:01 +02:00
sternenseemann
a0029f0b02 haskellPackages.idris: remove patches included in new release 2021-10-24 13:14:18 +02:00
Ellie Hermaszewska
3478ac5c5b
haskellPackages.lua: fix install phase 2021-10-23 16:02:05 +08:00
Deniz Alp
9120d6ee6b haskellPackages.svgcairo: Handle darwin and patch using upstream PR
The first patch we were applying before didn't build on darwin so I created a
new PR building on that, adding a darwin conditional adding the missing flag.
2021-10-22 15:29:22 +03:00
sternenseemann
edcbc2a906 haskell-ci-unstable: init at 0.13.20211011
Since this version of haskell-ci is effectively necessary to regenerate
the GitHub workflow for cabal2nix, let's not require contributors to
build this locally using cabal-install.
2021-10-21 15:04:10 +02:00
Ellie Hermaszewska
b211ea8db6
haskellPackages.gogol-core: unbreak 2021-10-21 15:23:30 +08:00
Deniz Alp
777dcd7ee3 haskellPackages.ghc-vis: Disable library profiling
`ghc-vis` doesn't support library profiling, as noted in:
> http://felsin9.de/nnis/ghc-vis/#installation

This gets the package building and it runs fine when called from ghci as you
normally would, however when you actually try viewing an expression it fails
with the following error message:
```
ghc: Error running utility program: Unable to call the command  dot  with the
arguments: " -Txdot " because of:  dot: runInteractiveProcess: posix_spawnp:
does not exist (No such file or directory)
```
As far as I can tell that is because `ghc-vis` needs to run dot at runtime but
since it's a library adding `graphviz` as a dependency doesn't quite do the
trick.

And while not ideal adding `graphviz` to the shell you're running `ghc-vis` at
works around this issue.
2021-10-20 23:57:01 +03:00
Ellie Hermaszewska
efde625572
haskellPackages.recursion-schemes: Fix profiling objects
Thanks to Ryan's patch here https://github.com/recursion-schemes/recursion-schemes/issues/128\#issuecomment-911632813

Fixes https://github.com/NixOS/nixpkgs/issues/140613
2021-10-18 21:23:25 +08:00
Deniz Alp
f9c77deb66 haskellPackages.svgcairo: Update header name exposed by librsvg
librsvg version 2.51.0 renames librsvg-features.h to rsvg-features.h and with
08fcd73d9d going in svgcairo broke again.

Renaming the library in the call site fixes the build.
2021-10-17 20:27:45 +03:00
sternenseemann
05482d2a1b haskellPackages.git-annex: update sha256 for 8.20211011 2021-10-13 12:13:44 +02:00
sternenseemann
2fb806dba0 haskell.packages.*: reflect Cabal minor version update 2021-10-12 12:51:49 +02:00
Malte Brandy
aadf1d5f3f
haskellPackages.network_3_1_2_5: Use correct version in all references to this pkg 2021-10-10 20:28:33 +02:00
sternenseemann
37a3e4ed31 haskellPackages: fix evaluation
Some version upgrades caused attributes to disappear. The upgrade from
language-docker 10.1.2 to 10.2.0 introduces a test failure which is
caused by missing files in the release tarball, so we need to fix this
up manually.
2021-10-10 16:39:40 +02:00
sternenseemann
4f6767556e Merge remote-tracking branch 'origin/master' into haskell-updates 2021-10-06 13:20:20 +02:00
Robert Hensing
e8409249d9 hci: Fix hydraPlatforms 2021-10-06 13:19:57 +02:00
sternenseemann
df720f8b7f Merge remote-tracking branch 'origin/master' into haskell-updates 2021-10-05 14:10:47 +02:00
Robert Hensing
561c519b2a
Merge pull request #140585 from hercules-ci/cache-hercules-ci-cli-on-hydra
hci: Cache on hydra
2021-10-05 12:07:49 +02:00
Robert Hensing
446145f5fb hci: Cache on hydra 2021-10-05 11:15:19 +02:00
sternenseemann
07b80a29ae haskellPackages.hakyll-images: clean up override
Upstream fixed tests, works fine from the get go now.
2021-10-05 11:10:44 +02:00
sternenseemann
4769e66c3d haskellPackages.hakyll-images: assert dontCheck is still necessary
With 1.1.1, hakyll-images should compile override-less again.
2021-10-05 01:07:24 +02:00
sternenseemann
00627e0ce3 haskellPackages.hakyll-images: disable broken test suite
The test suite doesn't compile with Hakyll 4.15, but the package itself does.
2021-10-04 17:49:02 +02:00
sternenseemann
8d1e2a10ce haskellPackages.hakyll-filestore: unbreak using jailbreak
Restricts < 4.15, but builds fine in spite of the newer version.
2021-10-04 17:48:25 +02:00
sternenseemann
72a54a7021 haskellPackages.http3: build with network 3.1.2.2
We need to conform with its dependency quic here.
2021-10-04 17:39:29 +02:00
sternenseemann
7d77818c9e haskellPackages.ghcup: assert that preCheck is still needed
This will start to fail when the fix has been released upstream.
2021-10-03 13:23:39 +02:00
sternenseemann
8da4d55f72 haskellPackages.ghcup: fix build by providing up to date deps
Previously ghcup was failing because of incompatibilities between optics
0.3 and 0.4. I'm personally not sure if hspec-golden-aeson 0.9.0.0 is
strictly necessary, but we may as well use this opportunity to start
ironing out the issues its quirky behavior since 0.8.0.0 causes.
2021-10-02 12:44:03 +02:00
sternenseemann
2dee7c529f haskellPackages.candid: clean up obsolete override
Hackage update contained the 0.3 bump
2021-10-01 21:44:35 +02:00
sternenseemann
309b14dfcd haskellPackages.quic: provide correct version of network 2021-10-01 19:38:14 +02:00
sternenseemann
35813c6f04 haskellPackages.candid: 0.2 -> 0.3
Turns out the cabal configure flags don't affect the doctest suite
necessarily, so upgrading candid manually is much easier.
2021-10-01 15:30:10 +02:00
sternenseemann
c32ea917d0 haskellPackages.candid: add workaround for doctest failure
This is fixed properly in candid 0.3 which we'll have soon, but in
the meantime we can just disable the offending warning. A real shame
that doctests are influenced by compiler warnings.
2021-10-01 14:40:05 +02:00
sternenseemann
f6703cdddc haskellPackages.hledger-lib_1_23: build with doctest 0.18.1
Test suite has a lower bound on doctest >= 0.18.
2021-09-30 12:21:16 +02:00
sternenseemann
97e02b4b87 haskellPackages.hw-*: fix too tight bounds on generic-lens 2021-09-29 14:29:06 +02:00
Dennis Gosnell
c4f967fe21
Merge pull request #139621 from Lassulus/hasura
haskellPackages.hasura: 2.0.7 -> 2.0.9
2021-09-28 08:39:17 +09:00
sternenseemann
64a3ff66f6 haskellPackages.cryptohash-sha256: make sure hydraPlatforms is populated 2021-09-26 21:26:08 +02:00
sternenseemann
3efe1b4b45 haskellPackages.polysemy: unbreak 2021-09-26 21:16:35 +02:00
lassulus
b421990ae0 haskellPackages.hasura: 2.0.7 -> 2.0.9 2021-09-26 10:28:31 +02:00
Deniz Alp
afd1e21fe4 haskellPackages.svgcairo: Fix build by correcting cpp options
There's an open pull request that fixes the build but it's been sitting there
for a while, the fix is in a single commit so just applying the commit as a
patch. This will also allow us to fix ghc-vis later.
2021-09-25 22:41:34 +03:00
maralorn
291c46808e
Merge pull request #138937 from roosemberth/hs-fix-d-bus
haskellPackages.d-bus: Fix for GHC 8.10.1+
2021-09-24 11:19:12 +02:00
Roosembert Palacios
2a194d990f
haskellPackages.d-bus: Fix for GHC 8.10.1+
Signed-off-by: Roosembert Palacios <roosemberth@posteo.ch>
2021-09-24 11:01:23 +02:00
Malte Brandy
325e25e0ca
haskellPackages.hls-stylish-haskell-plugin: Jailbreak to fix build 2021-09-18 01:12:20 +02:00
sternenseemann
f82c865b2b Merge remote-tracking branch 'origin/master' into haskell-updates 2021-09-17 16:12:05 +02:00
Joachim Breitner
906da2ce26 haskellPackages.crc: Builds with dontCheck
util https://github.com/MichaelXavier/crc/issues/2 is fixed by upstream.
2021-09-17 14:22:14 +02:00
Malte Brandy
4a4e73761f
haskellPackages.hls-splice-plugin: Disable tests 2021-09-14 19:18:27 +02:00
Malte Brandy
f2a3df2f30
haskell-language-server: Fix build for new version + cleanups 2021-09-14 01:04:39 +02:00
(cdep)illabout
02d3bde59a
haskellPackages.essence-of-live-coding-warp: remove unneeded override 2021-09-11 16:39:35 +09:00
(cdep)illabout
e098455d8f
haskellPackages.hadolint: bump dep on language-docker to 10.1.2 2021-09-11 12:02:24 +09:00
(cdep)illabout
96f6dbbd10
haskell: bump uses of Cabal_3_6_0_0 to Cabal_3_6_1_0 to get rid of eval errors 2021-09-11 11:58:02 +09:00
sternenseemann
61b713abd6 haskell.packages.*.ghc-api-compat: fix across all supported sets
* haskell.packages.ghc884.ghc-api-compat needed us to re-add the 8.6
  version of the package.
* haskell.packages.ghc901.ghc-api-compat now points to the newly
  released 9.0.1 version of the package.
* haskell.packages.ghc8107.ghc-api-compat now correctly points to
  ghc-api-compat 8.10.7.

GHC 9.2.1 is still unsupported (which is to be expected, with it
being a release candidate).

To make sure everything stays working we'll build ghc-api-compat as part
of versionedCompilerJobs.
2021-09-07 15:48:08 +02:00
sternenseemann
bcc8e62a23 haskellPackages.git-annex: update sha256 for 8.20210903 2021-09-07 15:36:21 +02:00
sternenseemann
93c06e23f2 hadolint: build with language-docker 10.1.1 2021-09-06 02:48:06 +02:00
sternenseemann
21e3afc6a2 haskell-ci: make sure all dependencies use Cabal 3.4
haskell-ci doesn't support Cabal 3.6 yet, so we need to downgrade
cabal-install-parsers to avoid inconsistencies across the dependency
graph.
2021-09-05 21:42:26 +02:00
Malte Brandy
6b93b667b2
haskellPackages.hakyll: Remove obsolete overrides 2021-09-05 12:40:26 +02:00
sternenseemann
796d31ab22 haskellPackages.distribution-nixpkgs: drop now unnecessary override
After updating our hackage hashes tarball we also have access to the
latest version.
2021-09-03 16:18:33 +02:00
sternenseemann
9ac0cf0958 haskellPackages.distribution-nixpkgs: 1.6.0 -> 1.6.1
New release without breaking changes which adds support for
aarch64-darwin. Because we're impatient, bump it manually instead of
waiting for stackage.
2021-08-27 18:32:48 +02:00
sternenseemann
968a107add haskellPackages.hpack-dhall: remove now unnecessary override
Issue was resolved upstream
2021-08-23 19:18:32 +02:00
(cdep)illabout
c091b809ca
haskellPackages.hasura-ekg-core: unbreak by adding overrides
This also similarly fixes haskellPackages.hasura-ekg-core.
2021-08-22 10:24:21 +09:00
sternenseemann
13f70bfa7a haskellPackages.tophat: remove now unnecessary override 2021-08-21 19:26:53 +02:00
lassulus
af115b8609 haskellPackages.graphql-engine: 2.0.5 -> 2.0.7 2021-08-19 14:15:21 +02:00
Malte Brandy
1bf1a3556a
haskellPackages.streamly-posix: jailbreak to fix tests 2021-08-18 10:22:35 +02:00
Malte Brandy
a8241df627
haskellPackages.gitit: Remove obsolete patch 2021-08-18 10:22:01 +02:00
Malte Brandy
a4528a1270
haskellPackages.ghc-api-compat: Use correct versions for every ghc 2021-08-18 02:12:29 +02:00
Dennis Gosnell
cc8c5ba53e
Merge pull request #133621 from Lassulus/hasura
hasura graphql-engine: 1.0.0 -> 2.0.5
2021-08-17 10:02:08 +09:00
lassulus
d07be4c5cb haskellPackages.graphql-engine: update to 2.0.5 + refactor 2021-08-16 19:51:58 +02:00
Samuel Rivas
d3ec7e0c3d haskellPackages.readline: fix Setup.hs to work with Cabal 3
See https://github.com/NixOS/nixpkgs/pull/111985/ for previous discussion
2021-08-16 11:03:08 +02:00
Malte Brandy
50dc9c1b67
haskellPackages.chs-cabal: Fix build by overriding Cabal dep 2021-08-10 14:33:36 +02:00
sternenseemann
e4969a6b76 haskellPackages.basic-cpuid: fix build on non-x86
Patch in missing import.
2021-08-06 15:32:15 +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
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
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
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
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
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
(cdep)illabout
1d71ffb109
haskellPackages.focuslist: disable checks because doctests incorrectly fail 2021-07-21 16:09:47 +09:00