Commit Graph

11765 Commits

Author SHA1 Message Date
sternenseemann
8a78846761 haskellPackages.pandoc-crossref: pin to 0.3.21 2025-11-02 22:58:47 +01:00
Malte Ott
89f0f73625 haskell.packages.ghc94.haskell-language-server: Add deprecation warning (#457892) 2025-11-02 22:46:59 +01:00
sternenseemann
445f2abcdc haskellPackages: mark builds failing on hydra as broken
This commit has been generated by maintainers/scripts/haskell/mark-broken.sh based on
*evaluation [1819781](https://hydra.nixos.org/eval/1819781) of nixpkgs commit [52d502c](52d502c551) as of 2025-11-02 21:08 UTC*
from the haskell-updates jobset on hydra under https://hydra.nixos.org/jobset/nixpkgs/haskell-updates
2025-11-02 22:27:17 +01:00
sternenseemann
196420387d haskellPackages.dom-parser: fix build with text >= 2.1.2 2025-11-02 22:21:01 +01:00
maralorn
301ed41ae6 haskell.packages.ghc94.haskell-language-server: Add deprecation warning 2025-11-02 21:00:19 +01:00
sternenseemann
966cfdba11 haskellPackages.nix-paths:don't use build tools when cross compiling
Using build-tools is somewhat flawed since it relies on the host tools
being executable at build time which is not always the case, e.g. when
cross-compiling. The simplest solution (patching being the alternative)
is to simply use the flag that makes nix-paths use PATH at runtime.
2025-10-31 17:41:13 +01:00
sternenseemann
2d2cef0613 haskellPackages.nix-paths: provide pkgs.nix for libraryToolDepends 2025-10-31 17:36:59 +01:00
sternenseemann
b69a73923f haskellPackages.cabal2nix-unstable: 2025-10-25 -> 2025-10-31 2025-10-31 17:31:19 +01:00
Wolfgang Walther
9abf1a4bd0 postgrest: 13.0.7 -> 14.0
Release Notes:
https://github.com/PostgREST/postgrest/releases/tag/v14.0
2025-10-28 12:24:03 +01:00
Malte Ott
39ab517c38 haskell-language-server: Fix build (#456151) 2025-10-28 10:27:50 +00:00
Wolfgang Walther
1d3f21940e haskellPackages: unbreak various packages
Created by maintainers/scripts/haskell/unbreak.nu.
2025-10-27 20:58:02 +01:00
maralorn
c270d540ba haskell-language-server: Fix build 2025-10-27 11:09:32 +01:00
Malte Ott
6e6212c2d7 haskell: fix hls-plugin-api, ghcide, lsp-types ambiguity (#455884) 2025-10-27 11:00:45 +01:00
Matt McHenry
3b1ba0d353 haskellPackages.ghci-dap: unbreak
this was unbroken by the update from 0.0.25.0 to 0.0.26.0 in
743815bde6, which added support for ghc >= 9.10.2.
2025-10-26 16:21:40 -04:00
Wolfgang Walther
a45b220940 haskellPackages.cabal2nix-unstable: 2025-10-19 -> 2025-10-25 (#455808) 2025-10-26 17:26:53 +00:00
sternenseemann
a9d886f66e haskellPackages.mkDerivation: make license optional (#455796) 2025-10-26 16:42:03 +00:00
ners
5ede9efd0c haskell: fix hls-plugin-api, ghcide, lsp-types ambiguity 2025-10-26 15:37:51 +01:00
sternenseemann
87ec3830bf haskellPackages.cabal2nix-unstable: 2025-10-19 -> 2025-10-25 2025-10-26 12:58:41 +01:00
sternenseemann
03f27237ac haskellPackages.mkDerivation: make license optional
`stdenv.mkDerivation` does not require meta.license to be passed, so there
is no reason `haskellPackages.mkDerivation` needs to enforce this. This
would free up cabal2nix to not report a license if it is not sure.

As I have argued in https://github.com/NixOS/cabal2nix/pull/677#issuecomment-3444635379,
it is better not to report a license than reporting an inaccurate one.

This would also allow to stop generating arbitrary strings as licenses
in cabal2nix to remove string values to facilitate more cleanliness in
the spirit of https://github.com/NixOS/nixpkgs/pull/445672, though the
question is whether it is wise to remove the meta data altogether.
2025-10-26 12:04:29 +01:00
nixpkgs-ci[bot]
f73993b07e Merge e32661f795 into haskell-updates 2025-10-26 00:23:08 +00:00
nixpkgs-ci[bot]
9c3c785b9e Merge staging-next into staging 2025-10-26 00:19:00 +00:00
nixpkgs-ci[bot]
0449360bab Merge c9f97ce391 into haskell-updates 2025-10-25 00:21:42 +00:00
Wolfgang Walther
4dd2f20130 Merge staging-next into staging 2025-10-24 09:27:24 +02:00
Aliaksandr
dc7095a86e treewide: remove deprecated lib functions that had warning for more than 2 years 2025-10-24 06:30:16 +03:00
Alexandre Esteves
34db4e48b7 haskellPackages.streaming-commons: fix build on windows 2025-10-23 23:04:12 +01:00
Alexandre Esteves
9cb747d793 haskellPackages.network: fix build on windows 2025-10-23 23:04:12 +01:00
Alexandre Esteves
b83fdf6232 haskellPackages.Win32: mark as boot package 2025-10-23 23:04:12 +01:00
Manuel Bärenz
40ef6070f4 haskellPackages.{clay,openapi3-code-generator}: Add turion as maintainer 2025-10-23 19:30:47 +02:00
Wolfgang Walther
be6d38e074 haskellPackages.proto3-wire: remove merged patches 2025-10-23 19:15:18 +02:00
Wolfgang Walther
d066109520 haskellPackages: stackage LTS 24.15 -> LTS 24.16 (#453822) 2025-10-23 09:00:24 +00:00
Wolfgang Walther
dc2b67d74b haskellPackages: stackage LTS 24.15 -> LTS 24.16
all-cabal-hashes: 2025-10-15T11:31:05Z -> 2025-10-22T21:20:29Z

(generated by maintainers/scripts/haskell/update-package-set.sh)
2025-10-23 10:54:36 +02:00
Emily
2a59d27e69 haskell.compiler.ghc{948,967,984,9102,9103,9121,9122}: backport patches for LLVM support
LLVM 12–17 have been dropped for Nixpkgs 25.11. As discussed recently
on Matrix, this backports upstream changes to allow the use of
LLVM 20 for all GHC versions from 9.4.8 onward.

I looked over GHC commits mentioning LLVM since the release of 9.4.8,
and read the discussions and issues around the relevant bumps, and
attempted to be quite thorough, but I obviously cannot guarantee that
this is wholly comprehensive. It seems like upstream generally bumps
the upper bound on the basis of “it builds successfully for me”,
with specific adaptations for new versions being fairly uncommon and
only coming for obvious build blockers or reactively in response to
bug reports. I have backported both kinds of changes here.

For some commits, trivial conflict resolutions and adaptations
were required. It would be possible to pass the affected files to
`fetchpatch` as `excludes` and keep smaller fix‐up patches in tree in
some cases, but I opted to keep it simple and vendor complete backport
patches instead. I did not attempt to backport every single change to
the LLVM backend, only those that seemed directly relevant to support
for newer versions; if you’d get the same issue with the older LLVM,
that’s just a GHC bug.

These changes should actually make it easier to cross‐compile for
new architectures, as more recent LLVMs will have better support for
newer platforms, and it will be easier to backport GHC changes to
enable new platforms with less drift in the backend.

These patches do result in two breaking changes. Firstly, the minimum
LLVM version is bumped to 13 across the board. This is irrelevant for
Nixpkgs as we pin a specific LLVM version anyway, and versions below
LLVM 18 will be removed imminently. Secondly, support for the hidden
`-fno-llvm-tbaa` flag is dropped. This can be replaced with custom
`-optlo` flags to control the passes more directly, but the main
use of this undocumented flag appears to have been to [work around]
the lack of support for newer LLVM versions, anyway.

[work around]: <https://gitlab.haskell.org/ghc/ghc/-/issues/22220>

I successfully built the following on `aarch64-linux`:

* `pkgsCross.armv7l-hf-multiplatform.buildPackages.haskell.compiler.ghc948`
* `pkgsCross.armv7l-hf-multiplatform.buildPackages.haskell.compiler.ghc967`
* `pkgsCross.armv7l-hf-multiplatform.buildPackages.haskell.compiler.ghc984`
* `pkgsCross.armv7l-hf-multiplatform.buildPackages.haskell.compiler.ghc9102`
* `pkgsCross.armv7l-hf-multiplatform.buildPackages.haskell.compiler.ghc9121`
* `pkgsCross.armv7l-hf-multiplatform.buildPackages.haskell.compiler.ghc9122`
* `pkgsCross.riscv64.haskell.compiler.ghc948`

The GHC 9.4.8 with an ARMv7 host platform segfaults when I try to run
GHC, though e.g. `ghc-pkg --help` runs successfully. The GHC 9.10.3
build targeting ARMv7 crashed inside `llc(1)`, so I tried RISC‐V,
which has some platform mismatch issue relating to `libffi`, so I
tried z/Architecture, which failed with an invalid floating point
constant in the LLVM IR, so I tried 64‐bit MIPS, which failed with
a different `libffi` issue, so I tried 32‐bit MIPS, which failed
to compile `compiler-rt`, so I gave up. I confirmed that both of the
ARMv7 issues reproduce with 944e8fd4f4,
the revision before they were bumped from their old versions of LLVM,
so these are not regressions.

I built a test program with the ARMv7 cross‐compilers and
confirmed that they run on the AArch64 builder. I also confirmed
that the cross‐compiled RISC‐V GHC successfully runs under
`qemu-riscv64(1)`. It will only try to build programs via the C
backend, though, as that is the only option for unregisterised™
targets, so it’s not clear to me how useful LLVM support in 9.4.8
really is for bootstrapping new platforms; I guess even RISC‐V
would require more backporting work to produce a cross‐compiled
GHC that will use LLVM to compile its own input. I didn’t bother
setting up all the binfmt machinery to get it through compiling and
running a test program, but it at least makes the attempt.

(cherry picked from commit b6be8a03a7)
2025-10-23 10:42:16 +02:00
nixpkgs-ci[bot]
5f8a5c0c89 Merge 22bb9b3079 into haskell-updates 2025-10-23 00:21:42 +00:00
nixpkgs-ci[bot]
c09c356709 Merge staging-next into staging 2025-10-22 12:08:03 +00:00
nixpkgs-ci[bot]
ac9a250ff1 Merge staging-next into staging 2025-10-21 12:08:24 +00:00
Sander
dd7d99efa9 cachix: 1.7.9 -> 1.9.1 2025-10-21 13:34:51 +02:00
Sander
1d1668a995 cachix: refactor overrides 2025-10-21 13:17:25 +02:00
K900
dc9f8c4380 haskellPackages.hsqml: fix eval
qt5Full is removed, and the thing is broken anyway, but hopefully this is correct and it
at least unblocks the channels.
2025-10-21 11:13:50 +03:00
nixpkgs-ci[bot]
48130bfdd1 Merge d08251c583 into haskell-updates 2025-10-20 00:23:09 +00:00
nixpkgs-ci[bot]
ab58a8cf13 Merge staging-next into staging 2025-10-19 12:07:19 +00:00
nixpkgs-ci[bot]
c4e186c33c Merge master into staging-next 2025-10-19 12:06:39 +00:00
Wolfgang Walther
120aaed506 nixos/tests/hoogle: init (#453019) 2025-10-19 10:51:36 +00:00
Wolfgang Walther
c90b7f75f4 hledger: 1.43.2 -> 1.50.2 (#453350) 2025-10-19 09:20:48 +00:00
sternenseemann
b2802415b0 haskellPackages.cabal2nix-unstable: 2025-09-17 -> 2025-10-19
haskellPackages.aes-gcm: unbreak

https://github.com/NixOS/cabal2nix/pull/673
2025-10-19 01:40:11 +02:00
sternenseemann
fff7102075 Merge commit 257aa2b046 into haskell-updates 2025-10-19 01:21:52 +02:00
sternenseemann
2c9b970413 Merge branch staging-next into staging 2025-10-19 01:15:26 +02:00
nixpkgs-ci[bot]
197fb0a1cf Merge master into staging-next 2025-10-18 23:12:14 +00:00
sternenseemann
3bd7971889 haskell.compiler.ghc{948,967,984,9102,9103,9121,9122}: backport patches for LLVM support (#440774) 2025-10-18 23:05:44 +00:00
Robert Schütz
7f9b26ccba hledger: 1.43.2 -> 1.50.2 2025-10-18 16:05:41 -07:00
sternenseemann
4680e8c88f git-annex: update sha256 for 10.20250929 2025-10-18 22:48:20 +02:00