Skip to content

Commit 88db87c

Browse files
committed
Fix for cabal-install 3.10.1.0
1 parent 099bd53 commit 88db87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/hackage-quirks.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ in [
3030
# See https://github.com/haskell/cabal/issues/8370
3131
+ lib.optionalString (builtins.compareVersions config.version "3.7" < 0) ''
3232
constraints: Cabal-syntax <0
33-
'' + lib.optionalString (__elem config.compiler-nix-name ["ghc961" "ghc96020230302"] && config.version == "3.8.1.0") ''
33+
'' + lib.optionalString (__elem config.compiler-nix-name ["ghc961" "ghc96020230302"] && __elem config.version ["3.8.1.0" "3.10.1.0"]) ''
3434
allow-newer: *:base, *:template-haskell
3535
'');
3636
modules = [

0 commit comments

Comments
 (0)