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 >=3.12: handle additional output of cabal path --store #28

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

amesgen
Copy link
Member

@amesgen amesgen commented Aug 7, 2024

When the cabal.project contains an s-r-p, invoking cabal path --store in a fresh project can return a line like

HEAD is now at ...

before the actual store path, causing the logic here to fail.

Closes #27

See IntersectMBO/ouroboros-consensus#1179 (IntersectMBO/ouroboros-consensus@dd259c8) for an example of this PR resolving the problem

When the `cabal.project` contains an s-r-p, invoking `cabal path --store`
in a fresh project can return a line like

    HEAD is now at ...

before the actual store path, causing the logic here to fail.
@amesgen amesgen marked this pull request as ready for review August 7, 2024 12:26
@jasagredo jasagredo added this pull request to the merge queue Aug 7, 2024
Merged via the queue into input-output-hk:latest with commit 25215ea Aug 7, 2024
@amesgen amesgen deleted the amesgen/fix-s-r-p branch August 7, 2024 12:29
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.

Issues with using latest cabal-3.12.1.0
2 participants