Skip to content

Commit bd6baef

Browse files
committed
Add a custom setup to cabal-install.
This custom setup ensures that if we are bootstrapping, we will use the most recent version of Cabal. (Without setup, cabal-install will force usage of an old version of Cabal.) Signed-off-by: Edward Z. Yang <[email protected]>
1 parent 856898a commit bd6baef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cabal-install/cabal-install.cabal

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,3 +338,9 @@ test-suite integration-tests
338338

339339
ghc-options: -Wall
340340
default-language: Haskell2010
341+
342+
custom-setup
343+
setup-depends: Cabal >= 1.23,
344+
base,
345+
process >= 1.1.0.2 && < 1.5,
346+
filepath >= 1.3 && < 1.5

0 commit comments

Comments
 (0)