Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cabal v1 install deprecation #55253

Closed
Bo98 opened this issue May 25, 2020 · 7 comments
Closed

Cabal v1 install deprecation #55253

Bo98 opened this issue May 25, 2020 · 7 comments
Labels
cabal v1 deprecation Deprecate cabal sandbox haskell Haskell use is a significant feature of the PR or issue outdated PR was locked due to age

Comments

@Bo98
Copy link
Member

Bo98 commented May 25, 2020

Cabal v1-installs are deprecated. One part of it, Cabal sandboxes, will be removed in cabal-install 3.4. Homebrew uses Cabal sandboxes in Language::Haskell::Cabal.

As such, the module has been deprecated in Homebrew 2.3. This issue tracks migration of formulae to Cabal v2.

For the simplest formulae:

  • Use system "cabal", "v2-update" and system "cabal", "v2-install", *std_cabal_v2_args instead of install_cabal_package
  • Remove require "language/haskell" and include Language::Haskell::Cabal.
  • If possible, use the newest GHC that is compatible.
Formula PR Merged? Comment
agda #59709 & #67014
allureofthestars #67259
bench #55877
bnfc #55854
cedille #67282
cgrep #55878
cmt #55879
cryptol #59329
dhall-bash #55848
dhall-json #55849
dhall-lsp-server #55847
dhall-yaml #55850
dhall #55833
elm #67404
futhark #51767 & #58534
[email protected] language/haskell require removed in #65285
[email protected] language/haskell require removed in #65285
ghc language/haskell require removed in #65285
head removed in #67360
git-annex #59330
hadolint #49412 & #58532
haskell-stack #59267
highlighting-kate #55874 Formula deleted
hlint #56582 & #58531
hopenpgp-tools #59345
idris #67343
mighttpd2 #55880
pandoc-citeproc #59346 Formula disabled in #65285
pandoc-crossref #59347
pandoc #58074 & #58533
psc-package #59348
shelltestrunner #59349
taskell #59350
texmath #67169
@Bo98 Bo98 added haskell Haskell use is a significant feature of the PR or issue in progress Stale bot should stay away labels May 25, 2020
pthariensflame added a commit to pthariensflame/homebrew-tap that referenced this issue Jun 5, 2020
@pthariensflame
Copy link
Contributor

@Bo98 #55833 is taking care of dhall. I'll probably end up doing the rest of them too.

@pthariensflame
Copy link
Contributor

@Bo98 #55847, #55848, #55849, and #55850 are ready!

@pthariensflame
Copy link
Contributor

As is #55854…maybe.

Josh-Tilles added a commit to Josh-Tilles/homebrew-core that referenced this issue Aug 15, 2020
BrewTestBot pushed a commit that referenced this issue Aug 23, 2020
Fixes #58984

Relates to #55253

Closes #59709.

Signed-off-by: chenrui <[email protected]>
Signed-off-by: BrewTestBot <[email protected]>
@MikeMcQuaid
Copy link
Member

@Bo98 @SeekingMeaning What's the latest on this? These seem to be odisabled rather than odeprecated now so these formulae aren't installing from source at all now, right?

gabebw added a commit to gabebw/homebrew-formulae that referenced this issue Dec 14, 2020
@carlocab carlocab mentioned this issue Dec 17, 2020
5 tasks
@carlocab
Copy link
Member

carlocab commented Dec 17, 2020

Built and tested Agda locally. PR here: #67014

@SeekingMeaning
Copy link
Contributor

SeekingMeaning commented Dec 19, 2020

Failures remaining after #65285 (Remove language/haskell require)

brew test --verbose allureofthestars
brew install --verbose --build-bottle cedille
brew install --verbose --build-bottle elm
brew install --verbose --build-bottle idris

@carlocab
Copy link
Member

I've been looking at them. I don't think fixes will come as easily as with agda or texmath.

@SeekingMeaning SeekingMeaning removed the in progress Stale bot should stay away label Dec 23, 2020
@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Jan 23, 2021
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Jan 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cabal v1 deprecation Deprecate cabal sandbox haskell Haskell use is a significant feature of the PR or issue outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

8 participants
@MikeMcQuaid @Bo98 @chenrui333 @BrewTestBot @pthariensflame @carlocab @SeekingMeaning and others