Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
e88261e
haskellPackages: stackage LTS 24.26 -> LTS 24.27
wolfgangwalther Jan 10, 2026
90b8ef3
Merge 1de85f4c808a70f012571ca7ab52a61724f950d8 into haskell-updates
nixpkgs-ci[bot] Jan 10, 2026
d969989
Revert "haskellPackages.cabal-pkg-config-version-hook: 0.1.0.1 -> 0.1…
wolfgangwalther Jan 10, 2026
7ffab71
Revert "haskellPackages.hercules-ci-cnix-store: 0.4.0.0 -> 0.4.1.0"
wolfgangwalther Jan 10, 2026
2144403
Revert "haskellPackages.hercules-ci-cnix-expr: 0.5.0.0 -> 0.5.1.0"
wolfgangwalther Jan 10, 2026
40f206f
Revert "haskellPackages.hercules-ci-agent: 0.10.7 -> 0.10.8"
wolfgangwalther Jan 10, 2026
79a7ab9
Revert "haskellPackages.hercules-ci-cli: 0.3.8 -> 0.3.9"
wolfgangwalther Jan 10, 2026
b09b43a
haskellPackages.integer-logarithms: disable tests
wolfgangwalther Jan 10, 2026
b39a4ca
haskellPackages.http2-tls: fix eval
wolfgangwalther Jan 10, 2026
c85463e
haskellPackages: regenerate hackage packages
wolfgangwalther Jan 10, 2026
04e19db
haskellPackages.selda{,-json,-sqlite}: unbreak
rnhmjoj Jan 8, 2026
471f44f
haskellPackages.selda{,-json,-sqlite}: unbreak (#469710)
wolfgangwalther Jan 10, 2026
43cc9f5
haskellPackages: unconditionally apply GHC patches waiting on upstrea…
alexfmpe Oct 24, 2025
34e4d92
Merge aef8bcdfb3ec01e5650b67da9ce9bf25806cc47d into haskell-updates
nixpkgs-ci[bot] Jan 11, 2026
ac40116
haskellPackages: unconditionally apply GHC patches waiting on upstrea…
wolfgangwalther Jan 11, 2026
9e1e793
haskell.compiler: use structured attrs for hadrianFlags
sternenseemann Dec 31, 2025
3d9b17a
haskellPackages.posix-waitpid: unbreak
danielrolls Jan 10, 2026
0cc1b42
haskell.compiler: use structured attrs for hadrianFlags (#475546)
wolfgangwalther Jan 11, 2026
8dd504e
Merge 769af1cc90c29069f644425b5f259dba88bfad18 into haskell-updates
nixpkgs-ci[bot] Jan 12, 2026
1b4d91b
haskellPackages.posix-waitpid: unbreak (#478857)
wolfgangwalther Jan 12, 2026
23fcc87
haskellPackages.liquidhaskell: turn off Haddock as it clashes with Li…
ulysses4ever Jan 12, 2026
06d5b63
Merge 9647a2baa33627c1c9cab8d1c98dece1519a0999 into haskell-updates
nixpkgs-ci[bot] Jan 13, 2026
1a633dd
haskellPackages.liquidhaskell: turn off Haddock as it clashes with Li…
maralorn Jan 13, 2026
46e08b5
haskellPackages: apply some recent cross fixes only on ghc 9.10+
alexfmpe Jan 13, 2026
1be6cd6
Merge c5220bcad8d7e599432db935f1159a81d5019dd4 into haskell-updates
nixpkgs-ci[bot] Jan 14, 2026
e03e9c4
haskellPackages: apply some recent cross fixes only on ghc 9.10+ (#47…
wolfgangwalther Jan 14, 2026
b29b652
Merge d6bc8a1403283df50ed2391a0c4f157bbc058334 into haskell-updates
nixpkgs-ci[bot] Jan 15, 2026
bb8c896
Merge fb34f684a5a9524aa1adac3a37364fb950af2d3c into haskell-updates
nixpkgs-ci[bot] Jan 16, 2026
4756e50
Merge commit '825a8a4f4670b6d8cea42b0e294dd237ddff22bc' into haskell-…
mdaniels5757 Jan 17, 2026
f416d1c
Merge 015d12a41685234fd4008cf2a54c526fb8109110 into haskell-updates
nixpkgs-ci[bot] Jan 18, 2026
2d75a2d
haskellPackages.xz: jailbreak
Ai-Ya-Ya Jan 18, 2026
616400c
haskellPackages: restrict version range of upstreamed ghc patches
alexfmpe Jan 18, 2026
79e4ddd
haskellPackages: restrict version range of upstreamed ghc patches (#4…
sternenseemann Jan 18, 2026
c943890
Merge 42c8ee3b52ddbd4d6627e4d4416fca607ccb7496 into haskell-updates
nixpkgs-ci[bot] Jan 19, 2026
4b69d28
Merge 64359a39a13b7e1b363d6897f4c85784c7d4dc6f into haskell-updates
nixpkgs-ci[bot] Jan 20, 2026
6bb5c36
Merge 1efa528e94631133414bd9ec05a9758e2a02b9ed into haskell-updates
nixpkgs-ci[bot] Jan 21, 2026
5760d29
haskellPackages.yesod-static: fix test suite with mime-types >= 0.1.2.1
sternenseemann Jan 21, 2026
0de9898
haskellPackages.proto3-wire: drop released patch
sternenseemann Jan 21, 2026
8497b6c
Merge 5d361f1d1d9861315db845a33fa2ac6c77f075ef into haskell-updates
nixpkgs-ci[bot] Jan 22, 2026
933e337
haskellPackages: remove unneeded jailbreaks
alexfmpe Jan 21, 2026
a415f73
haskellPackages.ghcup: deprecate
Ai-Ya-Ya Jan 18, 2026
a177dfa
haskellPackages.ghcup: deprecate (#481229)
maralorn Jan 22, 2026
d8480eb
haskellPackages.MIP: enable tests
wolfgangwalther Jan 22, 2026
bc964b1
haskellPackages.warp: stop including Paths_ module by default
lf- Jan 23, 2026
3378ed5
Merge "$(git merge-base master staging)" (565e0c1f0f2ad1c56d1a18992ce…
mdaniels5757 Jan 24, 2026
5cf564a
haskellPackages.warp: stop including Paths_ module by default (#483175)
sternenseemann Jan 24, 2026
7d79139
haskellPackages.pantry_0_11_2: disable test suite requiring network
sternenseemann Jan 24, 2026
0aa332c
haskellPackages.hpack_0_39_1: disable test cases requiring network
sternenseemann Jan 24, 2026
6299d7e
Merge 055fdf03b09bc9785bbd7ecee4523b6dca18d574 into haskell-updates
nixpkgs-ci[bot] Jan 24, 2026
b2286b4
Merge 26b0093bc977081dc7653175a3fadab11e07bed7 into haskell-updates
nixpkgs-ci[bot] Jan 25, 2026
2576eae
Merge b3ac5a8a8ca2e8a57b387b1dda5e790132afdd8c into haskell-updates
nixpkgs-ci[bot] Jan 26, 2026
a7ed61e
stack: adjust overrides to stack 3.9.1
sternenseemann Jan 24, 2026
37565f1
stack: adjust overrides to stack 3.9.1 (#483395)
sternenseemann Jan 26, 2026
5350829
haskellPackages: mark builds failing on hydra as broken
sternenseemann Jan 26, 2026
9006e5b
haskellPackages.egison: disable broken test suites
sternenseemann Jan 26, 2026
3366a94
haskellPackages.xstatic-th: skip broken test suite
sternenseemann Jan 26, 2026
ea727bb
Merge 691a69afc89d3ec8abd87dd65ef069e8d70b1574 into haskell-updates
nixpkgs-ci[bot] Jan 27, 2026
e604c7b
haskellPackages: remove unneeded jailbreaks (#482411)
maralorn Jan 27, 2026
7fa7a57
Merge 03b3ac9c0d3ea66175ddc49ebb8af98fa6ebb44e into haskell-updates
nixpkgs-ci[bot] Jan 28, 2026
4611412
haskellPackages: enable ncurses when compiling for same triple rather…
alexfmpe Jan 27, 2026
c83edba
haskellPackages: prepend triple to `targetPrefix` only when the targe…
alexfmpe Jan 27, 2026
6a84aaa
haskellPackages.postgrest: unmark broken
wolfgangwalther Jan 28, 2026
672bdf5
haskellPackages: fix pkgsStatic on aarch64-darwin (#484571)
wolfgangwalther Jan 28, 2026
d732bf3
Merge 31a7a9ee76392bf8ffc72bd67d50524651e9779a into haskell-updates
nixpkgs-ci[bot] Jan 29, 2026
7e83a79
Merge 29cbd6421005072afcbc7185031ff704c6804957 into haskell-updates
nixpkgs-ci[bot] Jan 30, 2026
e040fa2
haskellPackages.hasql-notifications: pin to 0.2.4.* to match hasql
sternenseemann Jan 30, 2026
79410e4
haskellPackages.{egison-quote,linux-ptrace}: mark as broken
sternenseemann Jan 30, 2026
e7136c1
haskellPackages: update list of transitively broken packages
sternenseemann Jan 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pkgs/data/misc/hackage/pin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"commit": "d1602cb2b331058fcfa5580f16159e47325bcd1a",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/d1602cb2b331058fcfa5580f16159e47325bcd1a.tar.gz",
"sha256": "134qhqlxfkv0vs58pzkll1cbqci8npr42yh0x1gmd0s8y00crqa4",
"msg": "Update from Hackage at 2025-12-30T09:01:27Z"
"commit": "fff69f8f5a9d3fd24badf3c5924216977fb86568",
"url": "https://github.com/commercialhaskell/all-cabal-hashes/archive/fff69f8f5a9d3fd24badf3c5924216977fb86568.tar.gz",
"sha256": "1bbsyimw1kiig8m3am0y60rvpfs7gd97xjzrhil3hn3k94varkxs",
"msg": "Update from Hackage at 2026-01-10T16:06:01Z"
}
62 changes: 32 additions & 30 deletions pkgs/development/compilers/ghc/common-hadrian.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,13 @@
stdenv.targetPlatform.isWindows
|| stdenv.targetPlatform.isGhcjs
# Before <https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13932>,
# we couldn't force hadrian to build terminfo for cross.
# we couldn't force hadrian to build terminfo for different triples.
|| (
lib.versionOlder version "9.15.20250808"
&& (stdenv.buildPlatform != stdenv.hostPlatform || stdenv.hostPlatform != stdenv.targetPlatform)
&& (
stdenv.buildPlatform.config != stdenv.hostPlatform.config
|| stdenv.hostPlatform.config != stdenv.targetPlatform.config
)
)
),

Expand Down Expand Up @@ -211,18 +214,6 @@
./Cabal-3.16-paths-fix-cycle-aarch64-darwin.patch
)
]
++ lib.optionals stdenv.targetPlatform.isWindows [
# https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13919
(fetchpatch {
name = "include-modern-utimbuf.patch";
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/7e75928ed0f1c4654de6ddd13d0b00bf4b5c6411.patch";
hash = "sha256-sb+AHdkGkCu8MW0xoQIpD5kEc0zYX8udAMDoC+TWc0Q=";
})
]
++ lib.optionals stdenv.targetPlatform.isGhcjs [
# https://gitlab.haskell.org/ghc/ghc/-/issues/26290
./export-heap-methods.patch
]
# Prevents passing --hyperlinked-source to haddock. Note that this can
# be configured via a user defined flavour now. Unfortunately, it is
# impossible to import an existing flavour in UserSettings, so patching
Expand Down Expand Up @@ -303,8 +294,20 @@
})
]

# Missing ELF symbols
++ lib.optionals stdenv.targetPlatform.isAndroid [
# Unreleased or still in-progress upstream cross fixes
++ lib.optionals (lib.versionAtLeast version "9.10.2" && lib.versionOlder version "9.15") [
# https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13919
(fetchpatch {
name = "include-modern-utimbuf.patch";
url = "https://gitlab.haskell.org/ghc/ghc/-/commit/7e75928ed0f1c4654de6ddd13d0b00bf4b5c6411.patch";
hash = "sha256-sb+AHdkGkCu8MW0xoQIpD5kEc0zYX8udAMDoC+TWc0Q=";
})

# https://gitlab.haskell.org/ghc/ghc/-/issues/26290 krank:ignore-line
./export-heap-methods.patch
]
++ lib.optionals (lib.versionAtLeast version "9.10.3") [
# https://gitlab.haskell.org/ghc/ghc/-/issues/26518 krank:ignore-line
./ghc-define-undefined-elf-st-visibility.patch
]

Expand Down Expand Up @@ -353,7 +356,9 @@ let
inherit (stdenv) buildPlatform hostPlatform targetPlatform;

# TODO(@Ericson2314) Make unconditional
targetPrefix = lib.optionalString (targetPlatform != hostPlatform) "${targetPlatform.config}-";
targetPrefix = lib.optionalString (
targetPlatform.config != hostPlatform.config
) "${targetPlatform.config}-";

# TODO(@sternenseemann): there's no stage0:exe:haddock target by default,
# so haddock isn't available for GHC cross-compilers. Can we fix that?
Expand Down Expand Up @@ -512,6 +517,9 @@ stdenv.mkDerivation (
pname = "${targetPrefix}ghc${variantSuffix}";
inherit version;

# Useful as hadrianSettings often have spaces in them
__structuredAttrs = true;

src = ghcSrc;

enableParallelBuilding = true;
Expand Down Expand Up @@ -632,15 +640,8 @@ stdenv.mkDerivation (
}/share/emscripten/cache/* "$EM_CACHE/"
chmod u+rwX -R "$EM_CACHE"
''
# Create bash array hadrianFlagsArray for use in buildPhase. Do it in
# preConfigure, so overrideAttrs can be used to modify it effectively.
# hadrianSettings are passed via the command line so they are more visible
# in the build log.
+ ''
hadrianFlagsArray=(
"-j$NIX_BUILD_CORES"
${lib.escapeShellArgs hadrianSettings}
)
hadrianFlags+=("-j$NIX_BUILD_CORES")
'';

${if targetPlatform.isGhcjs then "configureScript" else null} = "emconfigure ./configure";
Expand Down Expand Up @@ -782,16 +783,16 @@ stdenv.mkDerivation (
# In 9.14 this will be default with release flavour.
# See https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13444
"--hash-unit-ids"
];
]
++ hadrianSettings;

buildPhase = ''
runHook preBuild

# hadrianFlagsArray is created in preConfigure
echo "hadrianFlags: $hadrianFlags ''${hadrianFlagsArray[@]}"
echo "hadrianFlags: ''${hadrianFlags[@]}"

# We need to go via the bindist for installing
hadrian $hadrianFlags "''${hadrianFlagsArray[@]}" binary-dist-dir
hadrian "''${hadrianFlags[@]}" binary-dist-dir

runHook postBuild
'';
Expand Down Expand Up @@ -830,8 +831,9 @@ stdenv.mkDerivation (
export InstallNameToolCmd=$INSTALL_NAME_TOOL
export OtoolCmd=$OTOOL
''
# Replicate configurePhase
+ ''
$configureScript $configureFlags "''${configureFlagsArray[@]}"
$configureScript "''${configureFlags[@]}"
'';

postInstall = ''
Expand Down
Loading
Loading