Skip to content

Commit 89bab52

Browse files
committed
Reintroduce issue 3436.
1 parent f10dc3e commit 89bab52

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cabal-install/Distribution/Client/SetupWrapper.hs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -615,13 +615,13 @@ getExternalSetupMethod verbosity options pkg bt = do
615615
cabalLibVersionToUse :: IO (Version, Maybe ComponentId
616616
,SetupScriptOptions)
617617
cabalLibVersionToUse =
618-
case find (isCabalPkgId . snd) (useDependencies options) of
619-
Just (unitId, pkgId) -> do
620-
let version = pkgVersion pkgId
621-
updateSetupScript version bt
622-
writeSetupVersionFile version
623-
return (version, Just unitId, options)
624-
Nothing ->
618+
-- case find (isCabalPkgId . snd) (useDependencies options) of
619+
-- Just (unitId, pkgId) -> do
620+
-- let version = pkgVersion pkgId
621+
-- updateSetupScript version bt
622+
-- writeSetupVersionFile version
623+
-- return (version, Just unitId, options)
624+
-- Nothing ->
625625
case useCabalSpecVersion options of
626626
Just version -> do
627627
updateSetupScript version bt

0 commit comments

Comments
 (0)