You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cabal-install: don't pass exe name to external commands
Previously the executable name of the external command was passed to external commands as the
first argument.
This behaviour was adapated from cargo which does this because of reasons that are internal
to rust that do not affect GHC Haskell, and are even orthogonal to patterns that see common use in
Haskell.
Additionally, it complicates the 'simple' case which is what we should optimize for when building
such a feature.
The previous use case (one executable that serves multiple external subcommands) is still possible
by the following means:
- using a wrapper around the executable
- using a symlink and check argv[0] in the executable
Resolves#10275
0 commit comments