Commit Graph

8991 Commits

Author SHA1 Message Date
Naïm Favier
9965571f37
Merge pull request #279188 from ncfavier/agda-debug
agda: enable debug printing
2024-01-31 12:22:27 +01: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
sternenseemann
0e756e65d5 haskell.compiler.ghc96: 9.6.3 -> 9.6.4
https://www.haskell.org/ghc/blog/20240109-ghc-9.6.4-released.html

Co-authored-by: Ben Gamari <ben@smart-cactus.org>
2024-01-23 21:05:01 +01: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
Domen Kožar
92a280a84d cachix: 1.6.1 -> 1.7 2024-01-08 13:55:16 +00:00
sternenseemann
e650bbd6eb haskell.packages.ghc90.ghc-tags: 1.5 -> 1.6
The GHC 9.0 package set uses ghc-lib 9.4.*
2024-01-07 12:12:47 +01:00
sternenseemann
6652baf493 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on
*evaluation [1803414](https://hydra.nixos.org/eval/1803414) of nixpkgs commit [2676ce5](2676ce5a9a) as of 2024-01-07 10:20 UTC*
from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
2024-01-07 12:08:50 +01:00
sternenseemann
5c4b00560c haskellPackages.typst: temporarily disable on Hydra
Unfortunately we have a disagreement between Stackage LTS and what
pandoc needs for typst-symbols.
2024-01-07 11:50:57 +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
2676ce5a9a haskell.packages.ghc98.haskell-language-server: allow build
Sorry, this is a bit of a draw the rest of the owl commit. Upgraded
where sensible/possible, all jailbreaks note the bounds issues which are
luckily relatively boring (base and friends).

Removed overrides are mostly stale overrides from configuration-head.nix
that don't work anymore and make little sense with the current package
set anyways.
2024-01-07 01:44:49 +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
e155eee35e haskellPackages.double-conversion: patch for Cabal >= 3.10.2 2024-01-07 01:44:48 +01:00
maralorn
832df82ffc
Merge pull request #279232 from sternenseemann/system-double-conversion
haskellPackages.double-conversion: don't use vendored library
2024-01-06 21:46:01 +01:00
sternenseemann
0b7863d3e3 haskellPackages.double-conversion: don't use vendored library 2024-01-06 21:24:41 +01:00
maralorn
38c8bdcb53
Merge pull request #279198 from sorki/haskell-updates
haskellPackages.ircbot, haskellPackages.bytestring-conversion: unbreak
2024-01-06 20:22:26 +01:00
sorki
3951f40656 haskellPackages.bytestring-conversion: unbreak 2024-01-06 18:35:10 +01:00
sternenseemann
d0d080887c haskell.packages.ghc90.haskell-language-server: remove at 2.5.0.0
Support for GHC 9.0 was dropped in this version, so we can no longer
ship it.
2024-01-06 18:33:37 +01:00
sternenseemann
7c8c63e3eb haskellPackages.language-haskell-extract: unify overrides
All versions have this patch that conditionally enables support for
template-haskell >= 2.16, so we can fold them into one.
2024-01-06 18:33:37 +01:00
sorki
a30c2fccc8 haskellPackages.ircbot: unbreak 2024-01-06 18:22:41 +01:00
sorki
2eedc0b6da haskellPackages: update transitive-broken.yaml 2024-01-06 18:19:37 +01:00
sternenseemann
61c8d2aa5d haskell.packages.ghc92.haskell-language-server: disable stan plugin
hls-stan-plugin is not buildable with GHC >= 9.2.4 && < 9.4, so we have
no GHC from the 9.2 series that would support this plugin.
2024-01-06 16:42:49 +01:00
sternenseemann
ca733b431b haskellPackages.extensions: use Cabal core pkg if possible
For GHC 9.6 and 9.8 we can use the Cabal library bundled with GHC since
it matches the requested version. This can prevent inconsistent
dependencies later in e.g. haskell-language-server.

For lower versions we may need to jailbreak and downgrade Cabal to which
upstream seems to be open:

> We need to pin a single major version of Cabal here because the main
> reason we use Cabal is for its list of extensions. Later versions have
> strictly more extensions, and we'll have missing patterns if we try to
> support more than one major version. If this causes problems in
> practice let's revisit this decision and come up with another
> approach.

Alternatively, hls-stan-plugin can be disabled.
2024-01-06 16:42:49 +01:00
sternenseemann
ef01f5e93e haskellPackages.dhall*: revert downgrade to 1.41.*
dhall suddenly appeared in Stackage LTS 21 at 1.41.* which we don't
necessarily want, as we were using 1.42.* before. It is much easier to
revert this downgrade due to other packages (not in Stackage LTS) we are
shipping, like dhall-nix, dhall-nixpkgs and hnix.
2024-01-06 16:42:48 +01:00
sternenseemann
b2ae749343 haskellPackages.cairo-image: drop broken flag 2024-01-06 16:42:48 +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
e0e903c391 haskellPackages.cabal2nix-unstable: 2024-01-02 -> 2024-01-04
pandoc: install man pages from pandoc-cli tarball

The pandoc man pages moved from pandoc to pandoc-cli, so we need to
install them elsewhere. The install script for this was emitted by
cabal2nix which we now stop doing for pandoc >= 3.1.10 (so
haskellPackages.pandoc still has man pages). Instead we manually add an
override where it matters to us, namely
pkgs.pandoc (haskellPackages.pandoc-cli is lacking them now, not sure if
we need to care).
2024-01-04 16:57:20 +01:00
sternenseemann
065bd395b9 haskellPackages.stan: remove broken flag 2024-01-04 15:30:26 +01:00
sternenseemann
4a227da543 haskellPackages: stackage LTS 21.23 -> LTS 21.25
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
and maintainers/scripts/haskell/regenerate-hackage-packages.sh.

Add capability to update to an out of date solver in update-stackage.sh.
2024-01-04 13:31:30 +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
80ab52c54e haskell.packages.ghc96{,re}rebase: reflect 1.20.1.1 -> 1.20.2 2024-01-04 13:13:08 +01:00
sternenseemann
a89d7c91ea haskellPackages.{ghcide,hls-plugin-api}: drop obsolete overrides 2024-01-04 12:52:23 +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
ce229b97ac haskell.packages.ghc92.weeder: allow building with dhall 1.42 2024-01-04 12:29:27 +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
e343acbf2c pandoc: 3.1.9 -> 3.1.11 2024-01-04 12:08:02 +01:00
sternenseemann
013f163b27 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2024-01-04 12:04:32 +01:00
sternenseemann
8c67a611b7 Revert "haskellPackages: stackage LTS 21.23 -> LTS 22.4"
This reverts commit 2e7f09c390.

Reason for revert: Due to all-cabal-hashes not updating, we can't at the
moment get a more up to date hackage database the normal way. Let's
revert to the old state, so we can keep working on what we have until a
more up to date snapshot is available.
2024-01-04 12:00:31 +01:00
sternenseemann
4f98fa0e6a haskell.packages.ghc981.terminfo_0_4_1_6: allow base 4.20
We need this attribute to work for cross compilation. Unfortunately the
updated bounds are not yet released to Hackage.
2024-01-04 11:54:08 +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
Sergei Trofimovich
cba7eafc01 haskell.compiler.ghcjs: expose llvmPackages attribute via passthru
Files like `pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix`
assume `ghc` always has an `llvmPackages` attribue. Let's expose `null`
value from `ghcjs` to allow it's propagation.

This fixes package evaluation for `ghcjs` packages.
2024-01-04 00:34:19 +01:00
Sergei Trofimovich
53ddfcdf9b haskell.packages.ghcjs: fix stm eval
Before the change an attempt to instantiate `stm` package failed as:

    $ nix build --no-link -f. haskell.packages.ghcjs.stm
    error:
       … in the left operand of the update (//) operator

         at /home/slyfox/dev/git/nixpkgs-haskell-updates/pkgs/development/haskell-modules/lib/compose.nix:40:7:

           39|     mkDerivation = drv: (args.mkDerivation drv).override f;
           40|   })) // {
             |       ^
           41|     overrideScope = scope: overrideCabal f (drv.overrideScope scope);

       error: attribute 'stm_2_5_1_0' missing

       at /home/slyfox/dev/git/nixpkgs-haskell-updates/pkgs/development/haskell-modules/configuration-ghcjs.nix:29:21:

           28|   # https://github.com/ghcjs/ghcjs/issues/676
           29|   stm = doJailbreak self.stm_2_5_1_0;
             |                     ^
           30|   exceptions = dontCheck self.exceptions_0_10_7;
       Did you mean stm_2_5_3_0?
2024-01-04 00:34:19 +01:00
Sergei Trofimovich
99a8b82c3e haskell.packages.ghc865Binary.exceptions: restore package, use 0.10.7 version
In https://github.com/NixOS/nixpkgs/pull/278074 I removed `exception`
completely. But `nixpkgs` has a version of `exceptions we could use.
Let's enable that instead.

Co-authored-by: Dennis Gosnell <cdep.illabout@gmail.com>
2024-01-03 10:40:57 +00:00
maralorn
2e7f09c390 haskellPackages: stackage LTS 21.23 -> LTS 22.4
This commit has been generated by maintainers/scripts/haskell/update-stackage.sh
2024-01-02 02:28:49 +01:00