134 Commits

Author SHA1 Message Date
sterni 5ad26e362d haskell.packages.ghc912.glib: patch incompatibility with rts
Resolves https://github.com/NixOS/nixpkgs/issues/525467.
2026-06-14 15:17:54 +02:00
Alexandre Esteves 5bda4227ab haskellPackages.foundation: fix on ghcjs 2026-02-23 13:07:23 +00:00
Alexandre Esteves de44764f21 haskellPackages.basement: fix on ghcjs 2026-02-23 13:07:23 +00:00
Alexandre Esteves b2b6246ed8 haskellPackages.basement: apply patch for integer cast
Fixes error:
  Size.hsc:126:30: error: initialization of ‘long long int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
2026-02-14 21:22:36 +00:00
Mrmaxmeier f0ba8d8d77 haskellPackages.threads: add workaround for flaky test 2025-12-03 16:47:55 +01:00
Emily 3419bd7fd0 haskellPackages: remove dead code for removed GHC versions 2025-10-15 23:33:14 +01:00
Emily b07052d9d2 haskellPackages: drop unused patch file 2025-10-15 23:23:22 +01:00
sternenseemann 0538dd63b8 haskellPackages.cryptonite:let krank ignore issue reference in patch
The upstream issue reports closed state because the repository is
abandoned.
2025-09-22 15:50:50 +02:00
sternenseemann cd2c4cc64c darcs: apply patches for base 4.20, Cabal 3.12 and hashable 1.5 2025-09-13 03:03:11 +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 bc9837ea42 git-annex: adjust for 10.20250320
- git-annex now supports either filepath-bytestring or filepath (>=
  1.5.2) with the new OsPath API. For GHC 9.8, we have too stick to
  filepath-bytestring and manually disable the OsPath flag. However,
  we can already support building git-annex with GHC 9.10 and implement
  our overrides in a future proof way.

  Due to code changes relating to OsPath, our patch has to be rebased.

- The Utility.* modules gain a few dependencies, but for modules that
  aren't used in Setup.hs. Consequently, our approach of reusing the
  setup package db in GHC for the installer tool managed by the
  git-annex Makefile is no longer enough.
2025-04-15 13:01:08 +02:00
Wolfgang Walther 9e296dcf84 Merge commit '3b48b2eb41f0bcd2c0551cd1c2457fdae806c7a3' into haskell-updates-merge-nixfmt 2025-04-05 14:19:34 +02:00
Jörg Thalheim d5849aa581 nix-serve-ng: 1.0.0-unstable-2024-10-01 -> 1.0.0-unstable-2024-12-02 2025-04-02 13:14:49 +02:00
sternenseemann ff6e6b9947 haskell.packages.ghc{981-983,9101}.cabal-install: ignore unix bound
We apply a patch for the issue this bound is trying to prevent.
2025-03-03 20:52:50 +01:00
Marc Scholten 6de4685e77 haskellPackages.gogol-core: unbreak 2025-01-24 11:19:42 -08:00
sternenseemann a4a73418f0 haskellPackages.password: drop override
Upstream has addressed the issue we've been trying to work
around (darwin support). The upstream change is different and (iirc)
more correct. We'll have to wait and see if any new issues crop up.
2025-01-08 19:30:09 +01:00
Jörg Thalheim 65036e0ef9 nix-serve-ng: fix build against nix 2.24 2024-11-30 10:54:40 +01:00
Martin Weinelt 46b1474255 Reapply "haskellPackages: update stackage and hackage" (#354547)
This reverts commit 7701a9e6c6, reversing
changes made to 8991dc8e9d.

Restore haskell-updates on staging-next to save resources on hydra.
2024-11-08 18:42:24 +01:00
Vladimír Čunát fe6d94b8f9 Revert "haskellPackages: update stackage and hackage" 2024-11-08 18:36:29 +01:00
sternenseemann 169b24df41 haskellPackages.password: use crypton, disable scrypt on non-x86
- crypton is maintained, contrary to cryptonite
- since the Hackage scrypt package uses SSE2, we can't build it on
  non-x86 platforms (non x86_64 even probably). The best option
  is to disable the Scrypt module. To prevent cabal from pulling
  in scrypt in spite of that, we need to patch build-depends to
  respect the flag.
2024-10-26 01:35:13 +02:00
Markus Theil f6c921ee27 haskellPackages.openssl-streams: fix test with OpenSSL 3.3
Signed-off-by: Markus Theil <theil.markus@gmail.com>
Picked from PR https://github.com/NixOS/nixpkgs/pull/345998
2024-10-07 10:28:29 +02:00
Emily 5c05bac47f haskellPackages.opencv{,-extra}: remove overrides
These packages have been broken since before the 24.05 release. There
is a pull request open to update them to a newer OpenCV and get them
working again: <https://github.com/LumiGuide/haskell-opencv/pull/157>.

(cherry picked from commit 79872e0539)
2024-08-23 04:15:26 +01:00
sternenseemann cdedb41039 git-annex: fix installation location of .desktop files and icons 2024-04-22 02:17:36 +02:00
hellwolf 727df1e93f haskellPackages.HSH: patch openFd function from unix package 2024-03-25 23:45:18 +02:00
t4ccer eaf992fa45 haskellPackages.cheapskate: unbreak 2024-03-19 15:07:53 -06:00
t4ccer 9a4adbf496 haskellPackages.pattern-arrows: unbreak 2024-03-19 14:12:19 -06:00
maralorn a7baccff6f Merge branch 'master' into haskell-updates 2024-01-01 14:25:26 +01:00
Isidor Zeuner ddf2fa899a haskellPackages.PortMidi: fix ALSA plugins load path 2023-12-13 12:36:15 +01:00
Naïm Favier 0a686c36f1 haskellPackages.hnix: remove obsolete patch and overrides 2023-12-07 14:17:44 +01:00
sternenseemann 1107a3960a haskellPackages.bloomfilter: drop patches obsoleted by release 2023-08-18 23:24:17 +02:00
Rodney Lorrimar 5ff4edd335 haskell.packages.ghc94.hnix: Add note to patch 2023-07-26 11:22:15 +08:00
Rodney Lorrimar e45b99dfb5 haskell.packages.ghc94.hnix: Add patch to fix compile errors 2023-07-25 17:08:43 +08:00
Ilan Joselevich 65f90b5469 haskellPackages.{cachix,hercules-ci-agent}: fix build 2023-07-09 18:02:44 +03:00
Domen Kožar 122abb5f99 cachix: 1.5 -> 1.6 2023-06-27 18:41:47 +01:00
Tommy Bidne 6795426411 haskell.packages.ghc94.gtk2hs-buildtools: remove patch for upstream fix 2023-06-07 10:24:38 +12:00
sternenseemann 049eb388eb haskellPackages.haskell-ci: adjust to 0.16
- Drop patch which was a backport of a now released upstream change.

- Drop scope overrides where upstream constraints are compatible with LTS-20.

haskellPackages.cabal-install-parsers_0_4_5: remove at 0.4.5

No longer necessary for haskell-ci which is why we had it.
2023-04-09 15:36:29 +02:00
github-actions[bot] f812f1aa6a Merge master into haskell-updates 2023-02-08 00:13:23 +00:00
Naïm Favier 43da01b0c9 haskellPackages: remove unused patches 2023-02-07 18:59:47 +01:00
Peter Simons 962633e4d1 haskell.packages.ghc94.gtk2hs-buildtools: gtk2hs setup hook broken for ghc-9.4.4
See https://github.com/gtk2hs/gtk2hs/issues/323 for details.
2023-02-04 12:34:07 +01:00
maralorn 91e05c47f8 haskellPackages.recursion-schemes: Remove obsolete patch 2023-01-04 02:23:24 +01:00
Artur Cygan b80c4e945d haskellPackages: unbreak hevm 2022-12-31 14:20:47 +01:00
Artur Cygan 560818fddf haskellPackages: configuration common cleanup 2022-11-27 03:48:59 +01:00
sternenseemann 446357bcca haskell-ci: allow Stackage LTS-20 dependency version 2022-11-26 12:40:05 +01:00
sternenseemann 26f659e65f haskellPackages.mbox: fix build for time >= 1.10
Patch proposed to upstream via email, using a trivial replacement
as suggested in the time documentation.
2022-11-22 19:25:08 +01:00
Naïm Favier cd55072f6a lambdabot: remove upstreamed patches 2022-11-21 23:46:30 +01:00
Domen Kožar ba9342a67b haskellPackages.cachix: fix build 2022-09-25 11:09:09 +01:00
sternenseemann 75f79c209a haskellPackages.xmonad: drop upstreamed Nix compat patch
We had a long standing downstream patch for XMonad allowing us to
override the ghc and xmessage binaries used. That has been upstreamed
and released in 0.17.1 and we can drop it!

* patch upstreamed in https://github.com/xmonad/xmonad/pull/409
* downstream patch adjusted in https://github.com/NixOS/nixpkgs/pull/184784
2022-09-14 16:14:31 +02:00
Artur Cygan 6cabaded4a echidna: 1.7.3 -> 2.0.2 2022-09-08 23:02:35 +02:00
sternenseemann 531ff521d4 nixos/xmonad: rename NIX_GHC env var to XMONAD_GHC
Upstream XMonad was using our xmonad patch file for their flake build to
support our nixos module. This would of course break the build upstream
if the version we patched and their master branch diverged. We
[discussed] that it'd make sense to upstream the environment var code.
In the process it seemed sensible to rename the NIX_GHC variable as
well, since it isn't really Nix-specific – it's just a way to set the
GHC binary to execute. This change has been [implemented] upstream in an
unreleased version of xmonad now – meaning we'll be able to drop the
xmonad patch soon!

This also clarifies the situation in nixpkgs a bit: NIX_GHC is easy to
confuse with the environment variable used in the ghcWithPackages
wrapper where it is used to set an alternative prefix for a GHC-wrapper
for applications trying to discover it via e.g. ghc-paths. It is an
implementation detail in this context, as it is in the case of the
xmonad module. Since they are different implementations doing different
things, different names also make sense.

[discussed]: https://github.com/NixOS/nixpkgs/commit/36d5761b3e5aca9742fec85107e3d308a9af872c
[implemented]: https://github.com/xmonad/xmonad/commit/23f36d7e230a5dca36fd869ef904abbe1fc168c3
2022-08-04 14:29:05 +02:00
Naïm Favier c996ce4415 haskellPackages.misfortune: remove patch
Applied in 0.1.2: https://github.com/ncfavier/misfortune/commit/59fe811f30b3544b71d19276076021bba82d2498
2022-07-02 19:29:05 +02:00