I was rather surprised when trying this on windows. I had expected cabal will expose extra-prog-path by adding it to the internal PATH, so I would be able to e.g. run mingw executables, such as cabal exec pacman -- --help. But I can't... instead I have to mess with the current shells PATH.