-
Notifications
You must be signed in to change notification settings - Fork 723
Description
Describe the bug
Executables from ~/.local/bin1 shadow executables that are specified via build-tool-depends.
Why is this a problem? How can this corrupt your builds in non-obvious ways? How much effort is it to debug this? I'm not going into rant mode now, please use your own judgment.
Instead, I will describe the underlying reasons for this bug and possible solutions in a follow-up comment.
To Reproduce
A minimal skeleton that can be used to reproduce the issue is at https://github.com/sol/cabal-bug/tree/build-tools
You may need to adapt this according to your OS and whether you have an existing ~/.cabal or not. So make sure that you fully understand what it is doing before you run it.
System information
Operating system: Linux
cabal: 3.10.1.0
ghc: 9.6.1
Footnotes
-
Note that this may be
~/.cabal/binon your system. ↩