Commit Graph

11765 Commits

Author SHA1 Message Date
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
maralorn
18a01f3fd9 haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on
*evaluation [1803308](https://hydra.nixos.org/eval/1803308) of nixpkgs commit [eb6169a](eb6169a4a7) as of 2024-01-02 01:20 UTC*
from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
2024-01-02 02:24:55 +01:00
Rodney Lorrimar
111c8d73a4 haskellPackages.postgrest: Add more build-depends for 12.0.2 2024-01-01 23:17:16 +01:00
Rodney Lorrimar
677d868ca3 haskellPackages.postgrest: 11.2.2 -> 12.0.2
https://github.com/PostgREST/postgrest/releases/tag/v12.0.2
2024-01-01 23:17:15 +01:00
Stefan Frijters
36f775a9bc haskellPackages.postgrest: 10.1.1 -> 11.2.2 and fix build 2024-01-01 23:17:15 +01:00
maralorn
2684e3ea4b haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on
*evaluation [1803300](https://hydra.nixos.org/eval/1803300) of nixpkgs commit [f963570](f963570024) as of 2024-01-01 16:49 UTC*
from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
2024-01-01 17:55:27 +01:00
maralorn
15257e4500 haskellPackages: regenerate package set based on current config
This commit has been generated by maintainers/scripts/haskell/regenerate-hackage-packages.sh
2024-01-01 17:44:42 +01:00
maralorn
119323d46c Merge branch 'master' into haskell-updates 2024-01-01 17:43:12 +01:00
maralorn
1e946f853a Merge pull request #278074 from trofi/haskell.packages.ghc865Binary-fix-eval
haskell.packages.ghc865Binary: drop unevaluatable packages
2024-01-01 17:33:22 +01:00
maralorn
4f32f9677a Merge pull request #278069 from trofi/haskell.packages.ghc810-fix-evaluation
haskell.packages.ghc810: drop unevaluatable packages
2024-01-01 17:31:46 +01:00
Sergei Trofimovich
c8b5413fa6 haskell.packages.ghc865Binary: drop unevaluatable packages
`haskell.packages.ghc865Binary` has a few packages that fails to evaluate
by referring non-existent attributes. This turns evaluation attempts into
unrecoverable errors.

Before the change an attempt to instantiate all `ghc810` packages failed
as:

    $ nix-instantiate --strict --eval --expr 'with import ./. {}; lib.mapAttrs (n: v: builtins.tryEval (lib.isDerivation v)) haskell.packages.ghc865Binary'
    error:
       … while evaluating the attribute 'llvmPackages'

         at lib/attrsets.nix:1180:11:

         1179|     attrs:
         1180|     attrs // { recurseForDerivations = false; };
             |           ^
         1181|

       error: value is null while a set was expected

The change follows definition of `pkgs/top-level/haskell-packages.nix`
and also sets `llvmPackages` to `null`. While at it dropped other
references to deleted packages like `exceptions` pin.
2024-01-01 14:46:40 +00:00
Sergei Trofimovich
e649d53618 haskell.packages.ghc810: drop unevaluatable packages
`haskell.packages.ghc810` has a few packages that fails to evaluate by
referring non-existent attributes. This turns evaluation attempts into
unrecoverable errors.

Before the change an attempt to instantiate all `ghc810` packages failed
as:

    $ nix-instantiate --strict --eval --expr 'with import ./. {}; lib.mapAttrs (n: v: builtins.tryEval (lib.isDerivation v)) haskell.packages.ghc810'
    error:
       error: attribute 'stylish-haskell_0_14_3_0' missing
       at pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix:114:33:

          113|   hlint = self.hlint_3_4_1;
          114|   stylish-haskell = doJailbreak self.stylish-haskell_0_14_3_0;
             |                                 ^
          115|
       Did you mean stylish-haskell_0_14_4_0?

The change drops overrides that refer non-existent packages.
2024-01-01 14:14:56 +00:00
maralorn
aa84d903e1 haskellPackages.compact: Unmark broken 2024-01-01 15:11:40 +01:00
maralorn
a7baccff6f Merge branch 'master' into haskell-updates 2024-01-01 14:25:26 +01:00
maralorn
91065f31dd Merge pull request #275606 from sternenseemann/misc-release-haskell
haskell: fixes for the benefit of the haskell-updates jobset
2024-01-01 14:19:00 +01:00
maralorn
77480e1fa4 Merge pull request #273955 from zeuner/haskell-alsa-local
haskellPackages.PortMidi: fix ALSA plugins load path
2024-01-01 14:15:49 +01:00
maralorn
258151d138 haskellPackages.update-nix-fetchgit: Fix build 2024-01-01 14:00:07 +01:00
Dennis Gosnell
9a00eb1250 haskellPackages.gi-vte: fix by adding missing gi-cairo dep 2023-12-27 09:23:06 +09:00
mangoiv
e4f3eb40c1 haskell.packages.ghc96.warp_3_3_29; change to 3_3_30 cause it
doesn't exist anymore
2023-12-22 23:07:42 +01:00
maralorn
8c8f4de4b6 Merge pull request #276009 from rvl/haskell-updates-warp_3_3_31
haskellPackages.warp: enable tests and fix eval error
2023-12-22 11:18:57 +01:00
maralorn
04a4f1f8a5 git-annex: bump hash 2023-12-22 11:12:13 +01:00
Rodney Lorrimar
a6e59fff33 haskellPackages.warp: enable tests and fix eval error 2023-12-22 16:34:17 +08:00
sternenseemann
3d2fdba896 pkgsCross.*.haskell.packages.ghc96.terminfo: fix evaluation 2023-12-20 10:57:08 +01:00
sternenseemann
21acd3b787 haskell.packages.*.{terminfo,xhtml}: allow builds on Hydra for cross
We have some jobs that hit this case in release-haskell.nix, but they
are not actually created, since we forgot to relax hydraPlatforms…
2023-12-20 10:50:28 +01:00
github-actions[bot]
0b3450476c Merge master into haskell-updates 2023-12-20 00:10:48 +00:00
Motiejus Jakštys
5a098d2cb6 haskellPackages.hopengpg-tools: Unmark broken
https://github.com/drduh/YubiKey-Guide/issues/370
https://github.com/drduh/YubiKey-Guide/issues/406
2023-12-19 21:34:41 +02:00
r-vdp
9f3d087005 nix-serve-ng: unbreak. 2023-12-19 13:24:01 +01:00