Skip to content

Commit 7bdd104

Browse files
committed
Forgot to backport one element of the fix, ughhh
1 parent 2cacb54 commit 7bdd104

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cabal-install/Distribution/Client/CmdLegacy.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ wrapperAction command verbosityFlag distPrefFlag shouldWarn =
5050
let config = either (\(SomeException _) -> mempty) snd load
5151
distPref <- findSavedDistPref config (distPrefFlag flags)
5252
let setupScriptOptions = defaultSetupScriptOptions { useDistPref = distPref }
53+
let command' = command { commandName = T.unpack . T.replace "v1-" "" . T.pack . commandName $ command }
5354
setupWrapper verbosity' setupScriptOptions Nothing
54-
command (const flags) extraArgs
55+
command' (const flags) extraArgs
5556

5657
--
5758

0 commit comments

Comments
 (0)