Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Avoid legacy warning #1273

Merged
merged 1 commit into from
May 31, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion install.hs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ installCabal = do
-- install `cabal-install` if not already installed
when (isNothing cabalExe) $
execStackShake_ ["install", "cabal-install"]
execCabal_ ["update"]
execCabal_ ["v1-update"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we had this before, and it broke installs for people using earlier versions of cabal.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably true, but we demand that the cabal version is at least 2.4.1.0. this is checked before that.



checkStack :: Action ()
Expand Down