Commit Graph

11765 Commits

Author SHA1 Message Date
sternenseemann
d739a500ca haskellPackages: _ prefix attribute names that would need quoting (#453366) 2025-11-26 09:34:59 +00:00
Wolfgang Walther
aa87be7589 haskellPackages: stackage LTS 24.19 -> LTS 24.21 (#464592) 2025-11-25 11:53:53 +00:00
nixpkgs-ci[bot]
464aa22fd7 Merge de3255d9eb into haskell-updates 2025-11-25 00:22:40 +00:00
sternenseemann
8780e5b41f haskellPackages: _ prefix attribute names that would need quoting
In order not to break downstream expressions that (manually) introduced
dependencies on now renamed attributes, add aliases (with proper
warnings about the renames) for all attributes that were previously part
of Nixpkgs, but have been renamed with this change.
2025-11-24 23:10:22 +01:00
nixpkgs-ci[bot]
466663e1d4 Merge staging-next into staging 2025-11-24 18:07:11 +00:00
Wolfgang Walther
69543514c0 haskellPackages: run unbreak.nu
created by running maintainers/scripts/haskell/unbreak.nu
2025-11-24 18:17:45 +01:00
Wolfgang Walther
7600c46434 haskellPackages: stackage LTS 24.19 -> LTS 24.21
all-cabal-hashes: 2025-11-11T08:13:55Z -> 2025-11-24T11:39:51Z

(generated by maintainers/scripts/haskell/update-package-set.sh)
2025-11-24 15:17:37 +01:00
Wolfgang Walther
bff0d7bcf2 haskell.packages.ghc94.hlint: pin to 3.6.1
My previous commit pinned to the wrong version, the version used for 9.4
was indeed 9.6.1. This time I confirmed building locally as well...
2025-11-24 15:10:19 +01:00
Wolfgang Walther
d2f9817e56 haskell.packages.ghc94.hlint: pin to 3.8
We use the same version for GHC 9.6 and GHC 9.8, so it's no additional
effort to pin here as well. This pin was lost when turning HLS into a
throw.
2025-11-24 14:56:02 +01:00
Wolfgang Walther
7b3164b88c haskell.packages.ghc948.crypton-x509-store: pin to 1.6.11 (#463970) 2025-11-24 12:58:22 +00:00
sternenseemann
5a86e3d6ba haskellPackages.cabal2nix-unstable: 2025-11-11 -> 2025-11-20
Also run Nix based test cases of the language-nix test suite.
2025-11-24 12:16:50 +01:00
nixpkgs-ci[bot]
abd5d95db0 Merge 60d40a82c9 into haskell-updates 2025-11-23 00:26:47 +00:00
sternenseemann
fdf9251b3b taffybar: add test dependencies
Even though I couldn't find any obvious differences between our setup
here and the upstream CI (if python-dbusmock and upower are addded),
running the dbusmock tests doesn't work. TAFFYBAR_{TEST_,}VERBOSE
doesn't give many insights unfortunately.
2025-11-22 12:12:01 +01:00
sternenseemann
d884d12701 haskell.packages.ghc948.crypton-x509-store: pin to 1.6.11 2025-11-22 12:08:10 +01:00
nixpkgs-ci[bot]
d8e562d572 Merge staging-next into staging 2025-11-22 06:06:15 +00:00
Jade Lovelace
2a9345daf1 haskell: export build flags as a shell variable
This is useful so that you can call `Setup build` on other targets e.g.
for code generation while still having the same flags.

The context that led me to write this patch is that we have HIE file
generation in an overlay at work and I was packaging Glean, which
requires a code gen component get built, and it was building twice due
to the hie flags not getting propagated to the Setup build commands I
was running manually.
2025-11-21 16:20:29 -08:00
Robert Hensing
cb7163d8f3 haskellPackages.cabalSdist: remove ghc workaround
The workaround added in https://github.com/NixOS/nixpkgs/pull/187726
for https://github.com/haskell/cabal/issues/8352 is no longer needed.

cabal-install 3.8.1.0 introduced a regression where `cabal sdist`
required GHC to be in PATH. This was fixed in cabal-install 3.10.1.0
(https://github.com/haskell/cabal/pull/8358), and nixpkgs now uses
cabal-install 3.16.0.0.

tests.haskell.cabalSdist passes.
2025-11-21 19:16:27 +01:00
sternenseemann
7024499bf8 git-annex: remove compat code for GHC < 9.10
This was implemented when we were using 9.8 in order to ease the
transition to 9.10, but we don't really need to be able to build
git-annex on 9.8 anymore.
2025-11-21 16:54:33 +01:00
sternenseemann
f566020603 haskellPackages.proto3-wire: update list of required patches
1.4.4 incorporates most of the patches we need, but introduces a too
strict upper bound on doctest we need to lift.
2025-11-21 16:50:02 +01:00
sternenseemann
3e6951eeac git-annex: update sha256 for 10.20251029 2025-11-21 16:18:31 +01:00
ryota2357
9eff836f32 happy: fix for justStaticExecutables 2025-11-21 18:24:48 +09:00
Wolfgang Walther
7e867e0a7a Merge commit 'c840f3de26e798e19e0e6ed7bf8decf9cfb34d2f' into haskell-updates 2025-11-18 13:31:25 +01:00
Marc Scholten
5b7296475f haskellPackages.mkDerivation: pass --no-tmp-comp-dir to haddock
this avoids file operations that are not needed in nixpkgs
2025-11-16 12:16:18 -08:00
Marc Scholten
34d0c0cef5 haskellPackages.mkDerivation: pass -j to haddock 2025-11-16 12:15:24 -08:00
Marc Scholten
9d8a1fff7d haskellPackages.text-icu: disable homebrew flag on darwin
By default text-icu sets homebrew=true. This can cause a nix build
of text-icu to accidentally link the homebrew icu. It can also
cause "doesn't work on my machine" issues when an old homebrew version
with icu is installed on a mac and is accidentally picked up.
2025-11-16 11:30:09 -08:00
Vladimír Čunát
186d231ace cachix: dontCheck on darwin for now
Given that it builds and reportedly runs just fine,
let's not block the nixpkgs-unstable channel anymore. See
https://github.com/NixOS/nixpkgs/issues/461651
2025-11-15 08:11:29 +01:00
sternenseemann
41d975f14f Merge commit 61630d4ab5 into haskell-updates 2025-11-14 22:30:38 +01:00
sternenseemann
358af58331 haskellPackages.gi-gtk-hs: drop obsolete override 2025-11-14 22:19:44 +01:00
sternenseemann
f3d6f2c773 haskellPackages.crucible*: adjust to package updates
- Some patches have been released properly.
- what4 1.7.1.0 has been released.
2025-11-14 22:19:06 +01:00
sternenseemann
df4f4e2b06 haskellPackages.pdftotext: remove redundant poppler input
Automatically provided since 5a80601f97.
2025-11-11 11:30:14 +01:00
sternenseemann
4d5a2f46e3 haskellPackages.pdftotext: move jailbreak into overrideCabal
(cherry picked from commit 18e4ed7383)
2025-11-11 11:27:47 +01:00
sternenseemann
579fbfaa0b haskellPackages.cabal2nix-unstable: 2025-10-31 -> 2025-10-11
poppler-cpp is now recognized automatically.

(This partially reverts commit 2f1f72d5a2ea8d96f5ba200567815cb6d43d79f3.)
2025-11-11 11:20:50 +01:00
sternenseemann
5a80601f97 haskellPackages: stackage LTS 24.16 -> LTS 24.19
all-cabal-hashes: 2025-10-22T21:20:29Z -> 2025-11-11T08:13:55Z

(generated by maintainers/scripts/haskell/update-package-set.sh)

haskellPackages.cabal2nix-unstable: 2025-10-31 -> 2025-11-11

This eliminates the need for 2f1f72d5a2.
2025-11-11 10:54:46 +01:00
Sergei Trofimovich
516f757493 haskell.packages.ghc912.extensions: fix the eval
Without the change `haskell.packages.ghc912.extensions` eval fails as:

    $ nix build --no-link -f. haskell.packages.ghc912.extensions
    error:
       … in the left operand of the update (//) operator
         at pkgs/development/haskell-modules/lib/compose.nix:41:6:
           40|     f: drv:
           41|     (drv.override (
             |      ^
           42|       args:

       error: attribute 'extensions_0_1_0_3' missing
       at pkgs/development/haskell-modules/configuration-ghc-9.12.x.nix:75:29:
           74|
           75|   extensions = doDistribute self.extensions_0_1_0_3;
             |                             ^
           76|   ghc-exactprint = doDistribute self.ghc-exactprint_1_12_0_0;
       Did you mean one of extensions_0_1_0_1 or extensions_0_1_1_0?
2025-11-09 10:33:43 +00:00
sternenseemann
2f1f72d5a2 haskellPackages.pdftotext: use existing poppler-cpp input
This is correctly added to libraryPkgconfigDepends where it needs to go.
We could drop this in the future if we add a corresponding mapping to
cabal2nix.
2025-11-07 13:53:56 +01:00
sternenseemann
18e4ed7383 haskellPackages.pdftotext: move jailbreak into overrideCabal 2025-11-07 13:51:31 +01:00
Wolfgang Walther
89b60dff6b postgrest: 14.0 -> 14.1
Release Notes:
https://github.com/PostgREST/postgrest/releases/tag/v14.1
2025-11-06 20:48:48 +01:00
Wolfgang Walther
eb05db8dfe haskell.packages.ghc98.haskell-language-server: fix build
It was complaining about different versions of some regex dependency in
the closure, the differing one introduced by hls-plugin-api.

GHC 9.6 didn't fail that way, but I figured such a change can't hurt
either, for consistency.

(cherry picked from commit 7f8ab22df9)
2025-11-05 13:37:26 +01:00
Wolfgang Walther
5e86707c12 haskell.packages.ghc96.haskell-language-server: fix build
This dependency is only needed for the "plugin-tutorial" executable.
This is only built with GHC 9.6 and 9.8, but the expression is created
with GHC 9.10. Thus add the missing dependency.

It would be better to just disable that tutorial, but I didn't find a
quick way of doing that - toggling the related flag did not work.

This only fixed the build for GHC 9.6 for me, GHC 9.8 failed with a
different error right after.

(cherry picked from commit a36931ccf2)
2025-11-05 13:37:21 +01:00
sternenseemann
0ecf9024b7 haskellPackages.duckdb-ffi: mark as broken
I've decided to wait on upstream feedback on
https://github.com/Tritlo/duckdb-haskell/issues/2 before trying to get
it to build again.

(cherry picked from commit 3c9a1a34c8)
2025-11-05 13:37:16 +01:00
Alexandre Esteves
6786a51737 haskellPackages.proto3-suite: fix build
(cherry picked from commit 02b355acd2)
2025-11-05 13:37:13 +01:00
sternenseemann
5fe0b3b4c7 haskellPackages.proto3-suite: fix build (#458271) 2025-11-05 09:31:44 +00:00
Alexandre Esteves
02b355acd2 haskellPackages.proto3-suite: fix build 2025-11-04 19:09:55 +00:00
sternenseemann
3c9a1a34c8 haskellPackages.duckdb-ffi: mark as broken
I've decided to wait on upstream feedback on
https://github.com/Tritlo/duckdb-haskell/issues/2 before trying to get
it to build again.
2025-11-04 10:44:57 +01:00
Malte Ott
d18c41d37e haskell.packages.{ghc96,ghc98}.haskell-language-server: fix build (#458029) 2025-11-03 22:45:13 +00:00
Wolfgang Walther
7f8ab22df9 haskell.packages.ghc98.haskell-language-server: fix build
It was complaining about different versions of some regex dependency in
the closure, the differing one introduced by hls-plugin-api.

GHC 9.6 didn't fail that way, but I figured such a change can't hurt
either, for consistency.
2025-11-03 09:28:15 +01:00
Wolfgang Walther
a36931ccf2 haskell.packages.ghc96.haskell-language-server: fix build
This dependency is only needed for the "plugin-tutorial" executable.
This is only built with GHC 9.6 and 9.8, but the expression is created
with GHC 9.10. Thus add the missing dependency.

It would be better to just disable that tutorial, but I didn't find a
quick way of doing that - toggling the related flag did not work.

This only fixed the build for GHC 9.6 for me, GHC 9.8 failed with a
different error right after.
2025-11-03 09:28:12 +01:00
sternenseemann
49b3407843 haskell.packages.ghc94.haskell-language-server: fix ref to config 2025-11-03 07:23:43 +01:00
sternenseemann
852026e67b haskell.packages.ghc94.haskell-language-server: fix ref to config 2025-11-03 07:10:35 +01:00
sternenseemann
866c9d08ef Merge haskell-updates PR #452254 into staging-next 2025-11-02 23:28:12 +01:00