Skip to content

Commit fe40a18

Browse files
authored
Drop cabal-experimental input (#228)
* Drop cabal-experimental input, use regular cabal for all shells The cabal-experimental input (stable-haskell/cabal cross-compile branch) was used for withGHCTooling shells. The pinned version (Apr 2025) has hackage-security bounds incompatible with GHC 9.10+/9.12+ (ghc-prim >= 0.12), causing IFD plan resolution failures. The newer version (Aug 2025) fixes that but regresses shared library handling, breaking downstream CI. Simplify by using the regular cabal input for all shell variants. * Update haskell.nix to fix head.hackage FOD hash mismatch The head.hackage upstream content changed after Feb 21, making the fixed-output derivation hash stale. With the cached outputs GC'd, all JS backend IFD evaluations fail with hash mismatch, blocking the entire Hydra eval (no jobsetevals entry produced). Update haskell.nix from 7e7550c (Dec 9 2025) to cc939d0 (Feb 23 2026) which includes the daily "Update Hackage and Stackage" with the current head.hackage hash. * Update head.hackage FOD hash and haskell.nix input The head.hackage upstream content changed (upstream index grew), making the fixed-output derivation hash in tool-map.nix stale. With the cached outputs GC'd from hydra builders, all JS backend IFD evaluations fail with hash mismatch, blocking the entire Hydra eval (no jobsetevals produced). Update the head.hackage sha256 from sha256-AO/vHIMSIBwjbp5GY561SmnPr5qTTyBt9ruy8D3lKZI= to sha256-nFFut7+8NzUps+4MsmnAo2bLp1EE2Dx4eWqTeZ2aYqI= Also update haskell.nix from 7e7550c (Dec 2025) to cc939d0 (Feb 23 2026) to pick up latest Hackage/Stackage indexes.
1 parent 1076a06 commit fe40a18

File tree

4 files changed

+35
-37
lines changed

4 files changed

+35
-37
lines changed

dynamic.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# define a development shell for dynamically linked applications (default)
22
{ self, pkgs, compiler, compiler-nix-name, toolsModule, withHLS ? true, withHlint ? true, withIOG ? true, withIOGFull ? false, withGHCTooling ? false }:
3-
let tool-version-map = (import ./tool-map.nix) (self // { inputs = self.inputs // {cabal = if withGHCTooling then self.inputs.cabal-experimental else self.inputs.cabal;}; });
3+
let tool-version-map = (import ./tool-map.nix) self;
44
tool = tool-name: pkgs.pkgsBuildBuild.haskell-nix.tool compiler-nix-name tool-name [(tool-version-map compiler-nix-name tool-name) toolsModule];
55
cabal-install = tool "cabal";
66
haskell-tools =

flake.lock

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
inputs.iohk-nix.url = "github:input-output-hk/iohk-nix";
88
inputs.cabal.url = "github:stable-haskell/cabal";
99
inputs.cabal.flake = false;
10-
inputs.cabal-experimental.url = "github:stable-haskell/cabal?ref=stable-haskell/feature/cross-compile";
11-
inputs.cabal-experimental.flake = false;
1210

1311
outputs = { self, nixpkgs, flake-utils, haskellNix, iohk-nix, ... }:
1412
let overlays = {

tool-map.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let
1515
f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
1616
26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
1717
7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
18-
--sha256: sha256-AO/vHIMSIBwjbp5GY561SmnPr5qTTyBt9ruy8D3lKZI=
18+
--sha256: sha256-nFFut7+8NzUps+4MsmnAo2bLp1EE2Dx4eWqTeZ2aYqI=
1919
2020
if impl(ghc < 9.13)
2121
active-repositories: hackage.haskell.org

0 commit comments

Comments
 (0)