Commit graph

331 commits

Author SHA1 Message Date
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
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
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
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
sternenseemann
377924dd7b haskellPackages: take (more) tool dependencies from buildPackages
Fix instances of tool dependencies coming from `self` or `pkgs`
instead of `self.buildHaskellPackages` or `pkgs.buildPackages`
respectively. This makes sure cross-evaluation and -compilation will
work although their may still be more kinks to work out (or cases I
missed). This change was mostly created by searching for `[tTool]` and
`\${` in the respective files.

Note that this has intentionally not been for test tool dependencies:
Like in `stdenv.mkDerivation` we need to view tests as being executed
on the *host platform* which is why we can't run tests while cross
compiling anyways. In practice this is not an important distinction,
though: `pkgs.buildPackages` and `pkgs` are almost identical in the
native case.

Resolves #127232.
2021-06-22 00:18:12 +02:00
sternenseemann
83220ad7b9 haskellPackages.cachix: move shell completion override to configuration-nix 2021-06-21 20:14:35 +02:00
(cdep)illabout
8ec3faac52
spago: patch for newer versions library 2021-06-21 13:33:24 +09:00
sternenseemann
0e9230fcce haskellPackages.rel8: make test suite work by providing postgres tools 2021-06-20 23:52:20 +02:00
Malte Brandy
a5052e1c6e
haskellPackages.haskell-language-server: Fix build for 1.2.0.0 2021-06-20 21:56:34 +02:00
sternenseemann
1be887ea3f haskellPackages.cabal2nix-unstable: wrap with runtime dependencies 2021-06-17 10:52:43 +02:00
(cdep)illabout
ff9db852f0
spago: set earlier dhall dependency 2021-06-14 10:48:56 +09: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
Potato Hatsue
233087eb79 haskellPackages.nvfetcher: move overrideCabal to configuration-nix.nix 2021-06-10 09:50:57 +02:00
sternenseemann
e4d21886f4 haskellPackages.tophat: unbreak 2021-06-05 18:39:33 +02:00