Skip to content

Compile with Cabal-3.0 - #13

Closed
phadej wants to merge 2 commits into
masterfrom
ghc-8.8-cabal-3
Closed

phadej wants to merge 2 commits into
masterfrom
ghc-8.8-cabal-3

Conversation

@phadej

@phadej phadej commented Sep 28, 2019

Copy link
Copy Markdown
Collaborator

Revision checking doesn't work correctly if there are public multi-lib dependencies.

Revision checking doesn't work correctly if there are public multi-lib dependencies.
@phadej
phadej requested a review from hvr September 28, 2019 21:03
Comment thread hackage-cli.cabal
, http-io-streams ^>= 0.1.0.0
, io-streams ^>= 1.5.0.1
, lens ^>= 4.17
, lens ^>= 4.17 || ^>=4.18

@hvr hvr Oct 1, 2019 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

fwiw, I'd be fine to support only a single major version (for libraries not bundled w/ GHC); this is an exe after all

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I'll keep in mind that for the future

@bgamari

bgamari commented Oct 21, 2019

Copy link
Copy Markdown

What is preventing this from being merged?

@hvr

hvr commented Oct 24, 2019

Copy link
Copy Markdown
Collaborator

What is preventing this from being merged?

Mostly a reasonably careful code-review... ;-)

depKind = depTypeName dproxy ++ " dependency"

class (Ord (DepKey d)) => IsDependency d where
class (Ord (DepKey d), Pretty vr, Eq vr) => IsDependency vr d | d -> vr where

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Out of curiosity, why a functional dependency here where DepKey is an associated type?

@phadej

phadej commented Jan 11, 2021

Copy link
Copy Markdown
Collaborator Author

We should backport what's in hackage-server and then migrate to Cabal-3.2 or 3.4.

@phadej phadej closed this Jan 11, 2021
@phadej
phadej deleted the ghc-8.8-cabal-3 branch October 10, 2021 12:18
@andreasabel

Copy link
Copy Markdown
Member

We should backport what's in hackage-server and then migrate to Cabal-3.2 or 3.4.

@phadej, would you have a pointer to what we should port from hackage-server to hackage-cli?

@andreasabel

Copy link
Copy Markdown
Member

After some hints from @hvr, I discovered that this PR was created by copying over hackage-server/Distribution/Server/Util/CabalRevisions.hs. This is basically a file shared between hackage-server and hackage-cli.

@andreasabel
andreasabel restored the ghc-8.8-cabal-3 branch February 15, 2022 16:38
@andreasabel andreasabel reopened this Feb 15, 2022
@andreasabel

Copy link
Copy Markdown
Member

Updated in

@andreasabel
andreasabel deleted the ghc-8.8-cabal-3 branch February 3, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants