Commit Graph

11765 Commits

Author SHA1 Message Date
sternenseemann
cf67015743 top-level/release-haskell.nix: re-enable vaultenv 2025-08-07 14:21:51 +02:00
sternenseemann
5d0598aea1 haskellPackages.req: drop obsolete override
The bound may still be incorrect, but with Stackage LTS 24 we have
updated our data-default-class version as well.
2025-08-07 14:21:51 +02:00
sternenseemann
0947d6fc31 haskellPackages.dotenv: re-enable test suite 2025-08-07 14:21:51 +02:00
sternenseemann
2a99949053 haskellPackages.dotenv: allow data-default-class-0.2.0.0 2025-08-07 14:21:51 +02:00
Alexandre Esteves
6f2e4f7b1e haskellPackages: remove unneeded patches 2025-08-06 22:53:56 +01:00
sternenseemann
bf2e1e9c2b haskellPackages: stackage LTS 24.2 -> LTS 24.3
all-cabal-hashes: 2025-07-28T06:22:26Z -> 2025-08-06T11:20:02Z

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

haskellPackages.nix-derivation: drop override addressed by revision
2025-08-06 14:25:46 +02:00
sternenseemann
a4cbfd11e2 haskell.packages.*.ghc-{toolchain,platform}: make sure attr exists
These packages are new core packages starting with GHC 9.10, but there
is no (simple) way to make them available for older GHCs. We just need
to make sure the attributes exist, so we can evaluate packages that
depend on them with all GHC versions (even if the build may fail).
2025-08-06 14:22:48 +02:00
sternenseemann
516d609d56 haskell.packages.ghc{810,90,92}.ghc-internal: add missing attribute
See 1b5377100b. This is required to
evaluate some packages since it is an argument to their package
expression. We can't actually provide a version that works with these
GHC versions, so we set it to null and hope the packages themselves only
have a conditional dependency on them.
2025-08-06 14:22:48 +02:00
sternenseemann
2c2d5ab77e haskellPackages.hs-tree-sitter-capi: disable broken test suite 2025-08-05 15:33:47 +02:00
sternenseemann
d3e9ec723d haskellPackages.chell-quickcheck: mark as broken
Upstream doesn't seem to intend to maintain chell going forward, so this
will probably not get fixed. chell-quickcheck is only used by two
packages on Hackage, so we don't need to care too much.

haskellPackages.gnuidn: disable test suite due to chell-quickcheck
2025-08-05 15:22:41 +02:00
sternenseemann
e89cc35c70 haskellPackages.haddock-use-refs: drop outdated broken flag 2025-08-05 15:14:27 +02:00
sternenseemann
57500a3688 haskellPackages.skeletest: drop outdated broken flag 2025-08-05 15:10:14 +02:00
Wolfgang Walther
3d24d56fad haskell.packages.ghc{96,98}.ghc-lib-parser{,-ex}: pin at 9.10.*
This was updated to ghc-lib-parser 9.12.x, which fails to eval and fails
to build.
2025-08-05 12:36:59 +02:00
Wolfgang Walther
1b5377100b haskell.packages.ghc{94,96,98}.ghc-lib-parser: fix eval
The ghc-lib-parser expression is now created by running cabal2nix via
GHC 9.10. This means that the conditional dependency ghc-internal is now
added, but this is only available from GHC 9.10 onwards. Since this is
not required when building with older compilers, we just set it to null.
2025-08-05 12:36:59 +02:00
Mika Tammi
e582f96940 botan-low: Disable failing testcases
Signed-off-by: Mika Tammi <mikatammi@gmail.com>
2025-08-04 23:14:36 +03:00
Mika Tammi
cc2a679575 haskellPackages.botan-bindings: Fix broken package
- Patch few build errors related to pointers
- Add override for botan, so the package finds botan3
- Remove botan-bindings from broken.yaml and regenerate the hackage
  packages list

Signed-off-by: Mika Tammi <mikatammi@gmail.com>
2025-08-04 22:59:41 +03:00
Wolfgang Walther
8e31f1f44c haskell.packages.ghc98: fix warnAfterVersion error message 2025-08-04 21:20:59 +02:00
Wolfgang Walther
3ae41ba4ad haskell.packages.ghc98.megaparsec: fix eval
Megaparsec 9.7.0 is now the default anyway.
2025-08-04 21:17:26 +02:00
Wolfgang Walther
63708791a8 haskellPackages: run treefmt 2025-08-04 20:35:46 +02:00
sternenseemann
dd3972a847 nix-derivation: use enableSeparateBinOutput
Saves on redundant builds and actually makes sense since it also ships a
library.
2025-08-04 18:51:39 +02:00
sternenseemann
a3ae815d4b haskellPackages.extensions: put executable in bin output 2025-08-04 18:51:39 +02:00
sternenseemann
14e0b023ab haskell.packages.ghc8107.ghc-bignum: reenable testing on Hydra 2025-08-03 16:23:43 +02:00
sternenseemann
26ed035905 haskellPackages.{basement,memory}: make i686 patches unconditional
For basement we remain a bit cautious since the patch reportedly breaks
x86_64, though this is not super important to us anymore.
2025-08-03 15:27:05 +02:00
sternenseemann
cfcb09ad62 haskell.packages.ghc910.apply-refact: don't try to build 2025-08-03 15:00:34 +02:00
sternenseemann
33e227d64e haskellPackages.hsc3: 0.20 -> 0.21
This matches hosc which has been upgraded in Stackage LTS 24. hsc3 isn't
tracked in Stackage still.
2025-08-03 15:00:34 +02:00
sternenseemann
330ee35adb haskellPackages.hnix-store-*: 0.6.* -> 0.7.*
Doesn't build yet because of an overly strict nix-derivation constraint:
https://github.com/Gabriella439/Haskell-Nix-Derivation-Library/pull/29
2025-08-03 15:00:33 +02:00
sternenseemann
18dc520f23 haskellPackages.nix-derivation: allow filepath >= 1.5 2025-08-03 15:00:33 +02:00
sternenseemann
809f22983b haskellPackages.pandoc-crossref: 0.3.19 -> 0.3.20
Doesn't build yet due to constraint issues, but at least is the correct
version for pandoc >= 3.7.
2025-08-03 15:00:33 +02:00
sternenseemann
03df99eabc amazonka: 2.0-unstable-2025-01-23 -> 2.0-unstable-2025-04-16
This is the most conservative update to include the containers >= 0.7
change which we need. From the commit messages in between, changes
seemed harmless:
f3a7fca02f...7645bd335f
2025-08-03 14:17:41 +02:00
sternenseemann
6a78c1f443 haskell.packages.ghc810.ghc-bignum: move polyfill into 8.10 config
8.10.7 is the only remaining GHC that needs this polyfill so we can
clean this up a bit.
2025-08-03 13:37:02 +02:00
sternenseemann
84ece926a6 haskellPackages.diagrams-input: 0.1.3.1 -> 0.1.5
The necessary data-default version is now part of Stackage.
2025-08-03 13:26:58 +02:00
sternenseemann
4fd88c3339 haskellPackages.system-filepath: disable chell-quickcheck test suite
chell-quickcheck can't be built with QuickCheck >= 2.15 unfortunately,
something we should look into in the future.
2025-08-03 13:26:58 +02:00
sternenseemann
29279dd6fb haskellPackages.htree: drop unnecessary version constraint
We can use the latest version by default now. Note that this will BREAK
htree for GHC < 9.10.
2025-08-03 13:26:58 +02:00
sternenseemann
2f420c4320 haskellPackages.extensions: make 0.1.0.2 the default version 2025-08-03 12:35:49 +02:00
sternenseemann
b45efb7ab0 haskellPackages.chs-cabal: 0.1.1.1 -> 0.1.1.2 2025-08-03 12:29:33 +02:00
sternenseemann
5fa8956b96 haskell.packages.*.cabal-install: rebase patch lifting unix bound
See https://github.com/nixos/nixpkgs/commit/43ff75c408b7b for
background.
2025-08-03 11:53:48 +02:00
sternenseemann
5d4b546d4e haskellPackages.Cabal_3_16_0_0: ignore unix >= 2.8.6.0 bound
See https://github.com/nixos/nixpkgs/commit/43ff75c408b7b for
background.
2025-08-03 11:46:10 +02:00
sternenseemann
7eafc3a0ea haskellPackages.heist: apply upstream patch for tests 2025-08-01 12:03:57 +02:00
sternenseemann
bd6abcb8b5 haskellPackages.mod: drop upstreamed patch 2025-08-01 11:40:26 +02:00
Sergei Trofimovich
2493c8c132 haskell.packages.ghc865Binary.exceptions: fix the eval
Without the change the eval fails as:

  $ nix build --no-link -f. haskell.packages.ghc865Binary.exceptions
  error: attribute 'exceptions_0_10_9' missing
       at pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix:94:16:
           93|   # This became a core library in ghc 8.10., so we don’t have an "exception" attribute anymore.
           94|   exceptions = self.exceptions_0_10_9;
             |                ^
           95|
       Did you mean exceptions_0_10_10?
2025-08-01 00:27:53 +02:00
sternenseemann
8ebda4530f nix-serve-ng: unbreak on aarch64-darwin
The source of the failure is justStaticExecutables, the easiest
workaround is to not do it for now.
2025-07-31 16:57:48 +02:00
sternenseemann
07deefb3fa nix-serve-ng: use overrideSrc
This deals correctly deals with Hackage revisions for us if need be.
2025-07-31 16:34:51 +02:00
sternenseemann
cc477cd32b nix-serve-ng: 1.0.0-unstable-2024-12-02 -> 1.0.1-unstable-2025-05-28 2025-07-31 16:33:43 +02:00
sternenseemann
da2f5fb7a9 haskellPackages.cborg: use patch for 32bit support by upstream
Finally official patches for
https://github.com/well-typed/cborg/issues/309, so I feel comfortable
applying them unconditionally.
2025-07-31 13:48:04 +02:00
sternenseemann
ec9dac01bf git-annex: update sha256 for 10.20250416 2025-07-31 13:22:39 +02:00
sternenseemann
f1285d93c5 haskell.packages.ghc{810,9{0,2,4,6}}.hashable: use 1.4.7.0
This matches what we wer doing for Stackage LTS 23 with GHC < 9.10:
https://www.stackage.org/lts-23/package/hashable

hashable-1.5.0.0 introduced a hard dependency on base >= 4.18 which
means GHC >= 9.6 is required. Upstream promises that hashable == 1.4.*
will continue being maintained “for the time being”:
https://github.com/haskell-unordered-containers/hashable/blob/master/CHANGES.md#version-1500
2025-07-31 12:05:03 +02:00
sternenseemann
376e374218 haskell.packages.ghc9{2,4,6,8}.os-string: use 2.0.7
This matches what Stackage LTS 23 and thus we were using with GHC < 9.10
before: https://www.stackage.org/lts-23/package/os-string

This is actually not ideal since these GHC versions also ship versions
of filepath that may have module collisions with os-string, so using
os-string-1.0.0 (like for GHC < 9.2) would be better in some situations.
Unfortunately, it looks like the OsPath/os-string transition wasn't
completely thought through and e.g. hashable-1.4.7.0 (which we were also
using with Stackage LTS 23) has a hard dependency on os-string for
GHC >= 9.2, so we don't have much of a choice here.

The combination of a dependency on filepath and os-string doesn't seem
to be super common thus far, but down the line we may have trouble
getting such packages to work with GHC < 9.10 && >= 9.2.
2025-07-31 12:05:03 +02:00
sternenseemann
b5d4467cc3 haskell.packages.ghc{810,90}.os-string: use 1.0.0
It is pretty much impossible to get os-string to work with GHC < 9.2
since it has a hard dependency on bytestring >= 0.11 which only GHC 9.2
started to ship.
2025-07-31 12:05:03 +02:00
sternenseemann
7dfed14799 haskellPackages.cabal2nix-unstable: don't wrap with runtime deps
cabal2nix-unstable is mostly used for regenerating the Haskell package
set. Thus we should aim to make it quick to rebuild in case its hash
changes because of Haskell related changes.

- cabal2nix is not fussy about the Nix version it uses for nix-env(1)
  and we can just assume it is already in PATH like we do for
  maintainers/scripts/haskell/*.

- nix-prefetch-scripts causes the most trouble since its python
  dependencies depend on pandoc, so many Haskell changes require
  an additional Python rebuild when building cabal2nix-unstable.

  nix-prefetch-scripts is most likely installed and not necessary in
  many cases, e.g. hackage2nix doesn't need them which is the main use
  we have for cabal2nix-unstable. For the update scripts that do need
  them, we add them to the used nix-shell explicitly.
2025-07-30 13:02:47 +02:00
sternenseemann
8fec8af67a haskellPackages.cabal2nix-unstable: use separate bin output 2025-07-30 13:02:47 +02:00