Skip to content

Commit

Permalink
Reintroduce issue 3436.
Browse files Browse the repository at this point in the history
  • Loading branch information
grayjay committed Dec 3, 2017
1 parent f10dc3e commit 89bab52
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cabal-install/Distribution/Client/SetupWrapper.hs
Original file line number Diff line number Diff line change
Expand Up @@ -615,13 +615,13 @@ getExternalSetupMethod verbosity options pkg bt = do
cabalLibVersionToUse :: IO (Version, Maybe ComponentId
,SetupScriptOptions)
cabalLibVersionToUse =
case find (isCabalPkgId . snd) (useDependencies options) of
Just (unitId, pkgId) -> do
let version = pkgVersion pkgId
updateSetupScript version bt
writeSetupVersionFile version
return (version, Just unitId, options)
Nothing ->
-- case find (isCabalPkgId . snd) (useDependencies options) of
-- Just (unitId, pkgId) -> do
-- let version = pkgVersion pkgId
-- updateSetupScript version bt
-- writeSetupVersionFile version
-- return (version, Just unitId, options)
-- Nothing ->
case useCabalSpecVersion options of
Just version -> do
updateSetupScript version bt
Expand Down

0 comments on commit 89bab52

Please sign in to comment.