Skip to content

community/cabal: depend on curl

Sören Tempel requested to merge cabal-curl into master

cabal requires either curl or GNU wget to download dependencies via http. curl seems to be slightly better supported hence depending on that. Unfortunately, we can't express either package A or package B without virtual packages in $depends.

Alternative: patch cabal to make its default options compatible with BusyBox wget or just leave this up to the user though cabal simply doesn't work without either curl or wget installed.

See: https://github.com/haskell/cabal/blob/9f7dc559d682331515692dd7b42f9abd3a087898/cabal-install/src/Distribution/Client/HttpUtils.hs#L313-L328

Merge request reports

Loading