diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/haskell/hadrian/hadrian.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/haskell/hadrian/hadrian.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/haskell/hadrian/hadrian.nix b/nixpkgs/pkgs/development/tools/haskell/hadrian/hadrian.nix index 1be21d6f4519..7a44e2eeffc2 100644 --- a/nixpkgs/pkgs/development/tools/haskell/hadrian/hadrian.nix +++ b/nixpkgs/pkgs/development/tools/haskell/hadrian/hadrian.nix @@ -23,6 +23,10 @@ mkDerivation { ''; patches = lib.optionals (!enableHyperlinkedSource) [ ./disable-hyperlinked-source.patch + ] ++ lib.optionals (lib.elem ghcVersion [ "9.8.1" "9.8.2" ]) [ + # Incorrect bounds on Cabal + # https://gitlab.haskell.org/ghc/ghc/-/issues/24100 + ./hadrian-9.8.1-allow-Cabal-3.10.patch ]; # Overwrite UserSettings.hs with a provided custom one postPatch = lib.optionalString (userSettings != null) '' |