Commit Graph

344 Commits

Author SHA1 Message Date
sternenseemann
65454750ce haskellPackages: fix evaluation with stackage nightly 2022-02-17
I've tried to be conservative and only clean up things that broke eval
which in most cases had to do with uses of versioned packages that have
become the default in Stackage Nightly now. There's probably still
potential for cleaning up some additional workarounds and likely there
are still a lot of new workarounds to be found once we know about the
build failures.

Also note that clean eval only means that nix-env doesn't fail.

Notes:

* HLS now lacks the stylish-haskell and britanny plugins by default,
  since they don't support GHC 9.0.2. We'll need to re-enable them
  for GHC < 9.0.2
* A lot of uses of hspec 2.9.* can probably be removed, as 2.8.* which
  is used in Stackage Nightly is new enough for most packages.
2022-02-18 18:24:23 +01:00
github-actions[bot]
5c325c71b3
Merge master into haskell-updates 2022-02-09 00:08:15 +00:00
Dennis Gosnell
6c976d3099 spago: 0.20.4 -> 0.20.5 2022-02-08 11:55:00 -08:00
sternenseemann
6a6a2cdbe9 haskellPackages.ihaskell: use enableSharedExecutable over adhoc flag 2022-02-08 12:39:45 +01:00
sternenseemann
63e8fc415f haskellPackages.haskell-language-server: fix shared build 2022-02-08 12:30:46 +01:00
Malte Brandy
3302c41f7f haskell-language-server: Disable flaky tests for some plugins 2022-02-06 19:14:21 +01:00
Malte Brandy
11895db491 haskellPackages.haskell-language-server: Fix dependencies and refactor overrides 2022-02-05 03:12:50 +01:00
github-actions[bot]
97dcdd5e57
Merge master into haskell-updates 2022-02-04 00:08:07 +00:00
Dennis Gosnell
48c625215f
spago: 0.20.2 -> 0.20.4 2022-02-01 10:10:59 +09:00
sternenseemann
9875c91f04 haskellPackages.tz: drop upstreamed patch 2022-01-31 23:00:30 +01:00
Bernardo Meurer
3a7e6f7bd4
treewide: replace nix_2_4 with nixVersions.nix_2_4 2022-01-26 10:53:45 -08:00
sternenseemann
c6923ee0d9 jacinda: init at 0.2.0.0
Expose from haskell.packages.ghc921 (which is the only GHC version that
can build it easily atm) and additionally install man page, language
guide and code examples.
2022-01-24 12:42:14 +01:00
Matthieu Coudron
89b3b42c78
hlint: add manpage (#155382) 2022-01-18 15:44:02 +01:00
sternenseemann
f3a3ddb87b haskellPackages.http-api-data-qq: disable network dependent test 2021-12-27 14:59:36 +01:00
sternenseemann
6a525a1ce6 haskellPackages.retrie: downgrade to 1.1.0.0 for GHC < 9.2
retrie 1.2.0.0 adds support for 9.2, but drops it for all prior
versions. haskell.packages.ghc921.retrie stays at 1.2.0.0.

haskell.packages.ghc921.ghc-exactprint: 0.6.4 -> 1.3.0
2021-12-21 23:32:51 +01:00
Artur Cygan
cd600120e3 haskellPackages.sbv: fix build on aarch64 2021-12-15 15:56:29 +01:00
sternenseemann
512c0ee78a haskellPackages.xmonad*_0_17_0: build on Hydra
Makes it easier to spot regressions and gives binary cache to downstream
users.
2021-12-01 18:25:28 +01:00
sternenseemann
6bdb60a405 haskellPackages.xmonad-extras_0_17_0: build with matching releases
Needs xmonad and xmonad-contrib of the same version.
2021-12-01 18:25:28 +01:00
sternenseemann
a9fb1cb78a haskellPackages.xmonad-contrib_0_17_0: mv override closer to xmonad
Having everything in one place is going to make this a bit more maintainable.
2021-12-01 18:25:28 +01:00
Nick Hu
36d5761b3e haskellPackages.xmonad_0_17_0: respect NIX_GHC and XMONAD_XMESSAGE
Adds xmonad-nix.patch adjusted for xmonad 0.17.0.

Originally posted here: https://discourse.nixos.org/t/use-latest-version-of-xmonad-0-17-0/16191/5

Co-Authored-By: ento <ping@stillspinning.cc>
Co-Authored-By: sternenseemann <sternenseemann@systemli.org>
2021-12-01 18:25:28 +01:00
Ellie Hermaszewska
e4d170bc8f
Merge pull request #145124 from sternenseemann/graphviz-hardcode-store-paths 2021-12-01 16:54:35 +08:00
Malte Brandy
356698c493
haskell-language-server: Fix plugins for 1.5.0.0 2021-11-20 02:54:04 +01:00
sternenseemann
d4795c8efc haskellPackages.hasql-interpolate: disable tests (need running postgres) 2021-11-18 17:13:42 +01:00
sternenseemann
7d3dbec3cc haskellPackages.git-annex: move input overrides to configuration-nix 2021-11-14 20:56:43 +01:00
sternenseemann
3266c51421 haskellPackages.git-annex: refactor configuration-nix.nix overrides
Move everything into a single overrideCabal and express conditionality
using optionalAttrs. This should make it easier to add
more (un)conditional overrides in the future.
2021-11-14 20:56:43 +01:00
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
Domen Kožar
6fe99723d3
Merge pull request #145383 from hercules-ci/upgrade-cnix
hercules-ci-*, cachix: nix: 2.3 -> 2.4
2021-11-14 08:41:08 -06:00
Robert Hensing
f4c24b78d3 hercules-ci-*, cachix: nix: 2.3 -> 2.4 2021-11-11 11:45:47 +01:00
github-actions[bot]
da2c9c6eab
Merge master into haskell-updates 2021-11-10 00:07:08 +00:00
Bernardo Meurer
32c35c5164
haskellPackages.hercules-ci-agent: pin to nix_2_3 2021-11-09 10:47:18 -08:00
Bernardo Meurer
794d38995f
haskellPackages.hercules-ci-cnix-expr: pin to nix_2_3 2021-11-09 10:47:17 -08:00
Bernardo Meurer
7336444023
haskellPackages.hercules-ci-cnix-store: pin to nix_2_3 2021-11-09 10:47:16 -08:00
Bernardo Meurer
5bc981bed6
cachix: pin to nix_2_3 2021-11-09 10:47:15 -08:00
sternenseemann
f522c412d5 haskellPackages.graphviz: hardcode references to graphviz tools
This will make everything using graphviz just work without graphviz
having to be able from PATH (in a nix-shell or installed globally).
2021-11-08 23:11:06 +01:00
Ellie Hermaszewska
15ae25f36c
haskell: switch from haskell.lib to haskell.lib.compose 2021-11-07 20:18:45 +08:00
sternenseemann
bde22ab96e haskellPackages.procex: only execute tests if Kernel >= 5.9
The compile time check for close_range support is broken fundamentally
at the moment (linux-headers is always 5.14, so it'll always assume
close_range is available, upstream is aware of this issue). As a
workaround, we disable the test suite if the kernel on the builder is
too old, allowing the package to still be built.
2021-10-13 12:31:31 +02:00
Robert Hensing
d25fa35e02 haskellPackages.hercules-ci-agent: Re-enable profiling
This override isn't needed anymore and breaks packages that
depend on it (and don't disable profiling).
2021-10-06 22:53:44 +02:00
Malte Brandy
c077f5ae57
haskell-language-server: Remove useless major version aliases
The aliases, like haskell-language-server-8.10 do not get discovered by the hls-wrapper.
Only `haskell-language-server` and e.g. `haskell-languag-server-8.10.7` work.
I got that wrong when introducing those aliases.
2021-10-04 22:05:38 +02:00
sternenseemann
2eab4d5c08 haskellPackages.hashes: fix build on non-x86
Some hash implementations in hashes are platform-specific (32 vs 64
bit), but only implemented in terms of “is i686 or x86_64?”. This it'll
always fail on other platforms (like aarch64). Consequently it makes no
sense to build and execute the test suite there, even if some hash
implementations are platform independent and could be tested.
2021-10-02 12:50:30 +02:00
Potato Hatsue
d55ffa5a2f haskellPackages.nvfetcher: disable check 2021-09-30 23:01:19 +02:00
sternenseemann
cdffe459d8 haskellPackages.hls-rename-plugin: provide necessary test env 2021-09-29 14:18:35 +02:00
sternenseemann
f42ab674ba haskellPackages.webkit: remove override for broken package
webkitgtk24x-gtk2 has been removed, but webkit doesn't compile anymore
these days, so we can save us maintaining this override. The “correct”
override would be webkitgtk (webkit is an alias form webkitgtk atm,
maybe we should introduce a libNixName thing in cabal2nix for this?)
if webkit compiled with modern dependencies…
2021-09-28 13:35:33 +02:00
sternenseemann
734e7564cb haskellPackages.websnap: webkit dependency is a haskell dependency
websnap actually depends on the haskell webkit package (which is
broken), so this override introducing a dependency on a removed package
is actually incorrect and can be removed.
2021-09-28 13:28:22 +02:00
sternenseemann
4db2830d07 haskellPackages.tz: fix tests for non-glibc platforms
tz's test suite (luckily only the test suite, it seems) relies on some
non-POSIX behavior of glibc which was easy enough to patch.
2021-09-26 20:27:25 +02:00
Malte Brandy
d9b9e0f9ae
haskellPackages.haskell-language-server: Use default plugin set 2021-09-18 01:12:53 +02:00
Malte Brandy
f2a3df2f30
haskell-language-server: Fix build for new version + cleanups 2021-09-14 01:04:39 +02:00
sternenseemann
fbf7db7aed haskellPackages.isocline: don't execute flawed test suite 2021-09-06 19:12:15 +02:00
Bryan Richter
a198f75258 haskellPackages.monomer: set dontCheck
Monomer's tests want a display, which currently isn't provided in the Nix sandbox.

I also reordered the other packages that are in the same boat so they're
all in one place.
2021-08-24 23:08:36 +02:00
Jade
b5c2212cdf haskellPackages.oidc-client: mark unbroken and disable spec
Their spec tests OpenID Connect against google.com, which does not work.
2021-08-19 11:42:28 +02:00
lassulus
3b1a6b95d4 haskellPackages.odbc: add freetds, unbreak 2021-08-16 13:10:42 +02:00