Commit Graph

578 Commits

Author SHA1 Message Date
sternenseemann
69e0d2cb42 git-annex: crypto test no longer fails on darwin 2024-04-22 02:17:36 +02:00
sternenseemann
fd8ab54324 git-annex: don't use redundant installation targets
`make install` also implies install-mans and install-completions.
2024-04-22 02:17:36 +02:00
sternenseemann
bce71e97a0 haskellPackages.cabal2nix-unstable: 2024-02-05 -> 2024-04-21
This removes (some of) the special casing for git-annex which we need to
replicate using overrides. As a first step, we recreate an equivalent
set of overrides to the former gitAnnexHook, the only difference being
that we use the default installPhase over a custom implementation.

A big flaw of the current expression (which was shared by the previous
iteration) is that they ignore the testFlags argument. Unfortunately, we
can't do that without changing the generic builder implementation.
2024-04-22 02:17:36 +02:00
Naïm Favier
25f42f0350
Merge pull request #302351 from phijor/agda-separate-bin-output
haskellPackages.Agda: Split outputs to reduce closure size
2024-04-14 09:56:56 +02:00
Philipp Joram
294245f750 haskellPackages.Agda: Split outputs to reduce closure size
After enabling a separate binary output for the `Agda` Haskell package,
the new `bin` output measures ~100MiB, compared to the ~4.5GiB before.
Using it in `agdaWithPackages` reduces the closure size of an Agda
installation from ~5GiB to ~3GiB.  The remaining space is taken up
mostly by the GHC backend.

With this change, derivations depending on `haskellPackages.Agda`
directly need to pick the right (binary) output.  This concerns in
particular `emacsPackages.agda2-mode`.
2024-04-07 16:36:57 +03:00
Tony Zorman
adb6af6e87 haskellPackages.kmonad: unbreak 2024-04-02 20:30:42 +02:00
Naïm Favier
f3239b1422
haskellPackages.reflex-dom: fix
Add a build dependency on `libXtst` to a couple packages.
2024-03-29 12:58:05 +01:00
github-actions[bot]
8de0afeb83
Merge master into haskell-updates 2024-03-28 00:12:55 +00:00
Robert Scott
06c30f68c6 niv: wrap binary supplying runtime nix dependency in PATH 2024-03-24 00:04:35 +00:00
Naïm Favier
e9e0bda36a
mailctl: fix build
Pin warp to 3.3.30 for twain and mailctl. Twain requires an older
version of http2 than warp supports, see https://github.com/alexmingoia/twain/issues/5
2024-03-20 10:27:02 +01:00
Naïm Favier
2bc295aae8
haskell.packages.ghc98.haskell-language-server: fix 2024-03-19 13:34:22 +01:00
Phillip Seeber
27f7ae4989 haskellPackages.massiv: unbreak pvar and massiv, add @sheepforce as maintainer 2024-03-19 11:00:22 +01:00
maralorn
013cdb0c0b haskellPackages: Remove obsolete overrides for hls dependencies 2024-03-17 13:36:19 +01:00
Robert Hensing
7d2a83e6c2 Merge branch 'master' into HEAD 2024-03-07 18:39:12 +01:00
Robert Hensing
773cc49413 haskellPackages.hercules-ci-cnix-*: nix_2_16 -> nix_2_19 2024-03-07 15:19:03 +01:00
Wolfgang Walther
72e03b91ea
haskellPackages: add dontCheckIf helper
Using this helper will prevent introducing problematic doCheck = condition overrides,
which accidentally re-enable previously disabled tests.
2024-02-26 12:32:02 +01:00
Wolfgang Walther
df284fa43c
haskellPackages: avoid re-enabling previously disabled tests
The intent of all doCheck = <condition>, where condition is possibly true, is to disable
the tests in a specific case. However, as currently written, this also has the effect of
re-enabling the tests, even if they have been disabled by an override before, e.g. to
mkDerivation.

This also affects the default value given in mkDerivation, which is !isCross. Before this
change, aeson for example, would have been built with tests when cross-compiling, which
was not intended.

The proper way is to set the doCheck = false attribute only conditionally, and otherwise
rely on a previous override or the default value given in mkDerivation.
2024-02-26 12:32:02 +01:00
Rodney Lorrimar
d06425d779
haskellPackages.gi-adwaita: Build fixes 2024-02-10 16:56:50 +08:00
Rodney Lorrimar
5ae2fba1b1
haskellPackages.gi-gtk_4: Build fixes 2024-02-10 16:55:55 +08:00
Wolfgang Walther
16209df165 haskellPackages.postgresql-libpq: Use pkg-config instead of pg_config to find libpq
During configure, postgresql-libpq's Setup.hs will try to execute pg_config to
find libpq. This will not work when cross-compiling, because pg_config was compiled
for the target system, but needs to run on the host.

The "use-pkg-config" flag allows to do this via pkg-config instead, which works
better in those cases.
2024-02-08 12:47:23 +01:00
Daniel Rolls
f90f6e6f93 specup: init 2024-02-04 14:52:58 +00:00
github-actions[bot]
05ce1c8cd3
Merge master into haskell-updates 2024-02-01 00:13:01 +00:00
Naïm Favier
9965571f37
Merge pull request #279188 from ncfavier/agda-debug
agda: enable debug printing
2024-01-31 12:22:27 +01:00
github-actions[bot]
c2791e85de
Merge master into haskell-updates 2024-01-29 00:12:49 +00:00
annalee
1deaf13cb8
haskellPackages.llvm-hs: unpin llvm_9
according  https://hydra.nixos.org/build/233205149 the first broken
build of llvm-hs was in 2022-02-18 09:30:43. unpin llvm_9 so LLVM9 can
be removed from nixpkgs
2024-01-27 18:44:43 +00:00
maralorn
c55268218e haskell-language-server: Fix build 2024-01-25 21:50:36 +01:00
sternenseemann
4ab4021420 git-annex: manually install man pages
Setup.hs no longer installs the man pages via unix-compat. Instead, this
has to be done manually-ish via the Makefile.

Move passthru to configuration-nix.nix.
2024-01-16 23:57:45 +01:00
github-actions[bot]
27a26dea51
Merge master into haskell-updates 2024-01-10 00:13:04 +00:00
Damien Cassou
27d177bd1b
Merge pull request #278755 from DamienCassou/hledger-add-bash-completion
Hledger: add bash completion
2024-01-09 15:40:25 +00:00
sternenseemann
5a68acfd4b Merge remote-tracking branch 'origin/master' into haskell-updates 2024-01-08 19:12:52 +01:00
Domen Kožar
92a280a84d cachix: 1.6.1 -> 1.7 2024-01-08 13:55:16 +00:00
Stefan Frijters
185f85e202 haskellPackages.hasql-pool: remove redundant override
This attribute no longer exists at all
2024-01-08 01:48:44 +01:00
sternenseemann
bd7b302130 haskellPackages: fix eval with GHC 9.6 and Stackage LTS 22 2024-01-07 17:39:42 +01:00
sternenseemann
b7c875b492 haskellPackages.pantry_0_9_3_1: don't test in default package set 2024-01-07 11:45:19 +01:00
sternenseemann
ef6d05eb1b haskellPackages.fourmolu_0_14_*: don't test in all package sets
These packages are too tightly coupled to GHC/Cabal
2024-01-07 11:12:12 +01:00
sternenseemann
799b5efeef haskellPackages.fourmolu*: enable tests for all versions
Clean up override for removed version.
2024-01-07 01:44:48 +01:00
sternenseemann
0b7863d3e3 haskellPackages.double-conversion: don't use vendored library 2024-01-06 21:24:41 +01:00
Naïm Favier
0e15c844a9
agda: enable debug printing 2024-01-06 15:00:33 +01:00
Damien Cassou
adb7face9a
haskellPackages.hledger: add bash completion files 2024-01-04 22:13:48 +01:00
Damien Cassou
0528b99d21
haskellPackages.hledger: rename utility function
The function installs more than just man pages.
2024-01-04 20:30:25 +01:00
Damien Cassou
5606a1fd63
haskellPackages.hledger: remove unnecessary comment 2024-01-04 20:28:50 +01:00
sternenseemann
081d685561 haskellPackages.hls-stan-plugin: unbreak
haskellPackages.extensions: build with latest Cabal as requested
2024-01-04 13:23:25 +01:00
sternenseemann
0d94d0411a haskellPackages.postgrest: use hasql-pool 0.10.0.1 2024-01-04 12:45:35 +01:00
sternenseemann
b05464512a stack: slightly improve overrides
- Use hfinal where possible
- Move overrides out of custom overlay where possible
2024-01-04 12:40:19 +01:00
sternenseemann
8cdfe9c0ce stack: use pantry 0.9.3.1 2024-01-04 12:38:14 +01:00
sternenseemann
a9d78a7758 haskellPackages.pantry_0_5_2_1: remove at 0.5.2.1
No longer needed by stack.
2024-01-04 12:37:03 +01:00
sternenseemann
0c2ff42913 haskellPackages.cabal2nix-unstable: 2023-11-02 -> 2024-01-02
See https://github.com/NixOS/cabal2nix/pull/611 for discussion.

While we're changing things, let's also use the tzdata setupHook for
haskellPackages.tz.
2024-01-04 12:13:13 +01:00
sternenseemann
aa4b7ce79d haskellPackages.llvm-ffi: unbreak by providing matching LLVM 16
We're opting for the strategy of providing the most up to date version
llvm-ffi supports which works out well enough, as nixpkgs also tries to
be quite up to date with its LLVM version (and also uses LLVM 16 as the
default).
2024-01-04 11:33:52 +01:00
Stefan Frijters
36f775a9bc
haskellPackages.postgrest: 10.1.1 -> 11.2.2 and fix build 2024-01-01 23:17:15 +01:00
Rodney Lorrimar
a6e59fff33
haskellPackages.warp: enable tests and fix eval error 2023-12-22 16:34:17 +08:00