-
Notifications
You must be signed in to change notification settings - Fork 701
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
[3.14] Initial configuration of programs does not use build-tool-depends #10692
Comments
Cabal 3.14.1.0 finds the alex in the path, while Cabal 3.12.1.0 finds the build-tool alex:
I suspect this might be happening also on Linux. |
It is this line the one that causes It tries to configure all known programs before setting up the project, therefore searching only in the system PATH, without the build-tool-depends path. If an cc @sheaf as the author of that line. The verbose logs with markers before and after that call, mentioning
|
Thanks for opening this ticket and taking the time to investigate. I suspect this is probably the same issue as #10633? To explain my change: finalProgDb <- liftIO $ configureAllKnownPrograms verbosity progdb'' The problem is that the recompilation checking logic inside which that code is (
I think there are only two ways of making this particular piece of code correct:
If (2) passes CI then I would be fine with that approach as well. |
Using the different version from what specified in
Perfectly, Work towards making the builds hygienic. |
Describe the bug
The store path in which the alex build tool is placed does not correspond with the one used later on to build Cabal-syntax.
To Reproduce
I removed all the
alex
folders before starting this process. This doesn't happen on 3.12.1.0.System information
cabal
: 3.14.1.0ghc
: 9.6.6On Linux it does work:
The text was updated successfully, but these errors were encountered: