-
Notifications
You must be signed in to change notification settings - Fork 691
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 dies when creating pkg registration file (Windows) #6308
Comments
A workaround this is to use a |
The reason for this problem lies in the usage of
However the
Assuming that the file
while we can still open with the absolute path (
Does cabal relies on canonicity of paths, or could we switch to |
but opening fails? |
Yes. If you want to reproduce: start a VirtualBox and try to compile something in a shared folder. |
@Mistuke is there a short explanation why |
@phadej |
@phadej Thanks, started a bootstrap and regression test for this. |
To clarify, this is a regression in GHC 8.6.5 where we started remapping paths to use full namespaced paths in GHC in order to get around
|
@Mistuke do you think the fix will be included in |
I don't think there's going to be a another 8.6 release |
But the .6 releases are always the good ones. |
It seems this was fixed in https://gitlab.haskell.org/ghc/ghc/-/merge_requests/2621. Should we close it? |
Describe the bug
Building on Windows (using cabal-3.0) I am getting the following error:
Expected behavior
A clear and concise description of what you expected to happen.
System information
cabal-3.0
,ghc-8.6.5
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: