From 344f38cef08e334894e98684cbef25be4fd8e7c6 Mon Sep 17 00:00:00 2001 From: Mike Pilgrem Date: Mon, 1 Jul 2024 23:56:53 +0100 Subject: [PATCH] Fix #7458 Remove Cabal from appearing directly in snapshots --- build-constraints.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/build-constraints.yaml b/build-constraints.yaml index 0764d759..a3e7408b 100644 --- a/build-constraints.yaml +++ b/build-constraints.yaml @@ -482,8 +482,14 @@ packages: - type-of-html-static "Mikolaj Konarski @Mikolaj": - - Cabal < 3.12.0.0 # https://github.com/commercialhaskell/stackage/issues/7399 - - cabal-install +# Cabal is a GHC boot package and, consequently, like all other boot packages, +# should not be included directly in a Stackage snapshot. The package version is +# specified by the specified GHC version. To do otherwise affects adversely +# Stack's ability to override the specified compiler easily. See: +# https://github.com/commercialhaskell/stackage/issues/7357 and +# https://github.com/commercialhaskell/stackage/issues/7458. +# - Cabal < 3.12.0.0 # https://github.com/commercialhaskell/stackage/issues/7399 + - cabal-install < 3.10.3.0 # cabal-install-3.10.3.0 requires Cabal >= 3.10.3 - sdl2-ttf - enummapset - assert-failure