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

Backporting to 3.0 #6425

Merged
merged 8 commits into from
Dec 13, 2019
Merged

Backporting to 3.0 #6425

merged 8 commits into from
Dec 13, 2019

Conversation

phadej
Copy link
Collaborator

@phadej phadej commented Dec 12, 2019

cc @hvr

hvr and others added 3 commits December 12, 2019 17:42
These are only supported properly starting with
cabal-version:3.0 (which has been enforced by
Hackage as well -- via this very patch).

See haskell#6033 for details
I.e. don’t rebuild everything when a ghc flag that affects how error
messages are presented is added.
@phadej phadej added this to the 3.0.1.0 milestone Dec 12, 2019
DanielG and others added 5 commits December 12, 2019 18:47
On Windows dropExeExtension doesn't actually drop the exe extension.

We have

    splitExtension "foo.exe" == ("foo", ".exe")

but the code is expecting just "exe" for the extension field.

Among other things this makes guessToolFromGhcPath behave
unexpectedly. Since takeVersionSuffix can't see past the extension the
`null suf` case in mkGuesses will trigger which causes the versioned
program path candidates to not be looked for.
This is very useful for validate.sh script,
We should be aware of which tests are skipped.
Perfectly, SKIP should tell a reason.
… is compiled with

This makes e.g. LibV09 test work properly
@phadej phadej merged commit 8199c3f into haskell:3.0 Dec 13, 2019
@phadej phadej deleted the backporting-to-3.0 branch December 13, 2019 05:25
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