Skip to content

Commit e4860c6

Browse files
committed
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.
1 parent 1076a06 commit e4860c6

File tree

3 files changed

+1
-21
lines changed

3 files changed

+1
-21
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: 0 additions & 18 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 = {

0 commit comments

Comments
 (0)