Skip to content

Commit

Permalink
Fix GHC 7.8 build
Browse files Browse the repository at this point in the history
  • Loading branch information
borsboom committed Oct 9, 2015
1 parent 5b39e5f commit 366050b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Stack/Config/Docker.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
module Stack.Config.Docker where

import Control.Exception.Lifted
import Control.Monad
import Control.Monad.Catch (throwM, MonadThrow)
import Data.List (find)
import Data.Maybe
Expand Down Expand Up @@ -63,7 +64,7 @@ dockerOptsFromMonoid mproject stackRoot DockerOptsMonoid{..} = do
Right p -> return p
dockerStackExe <-
case dockerMonoidStackExe of
Just e -> Just <$> parseDockerStackExe e
Just e -> liftM Just (parseDockerStackExe e)
Nothing -> return Nothing
return DockerOpts{..}
where emptyToNothing Nothing = Nothing
Expand Down

0 comments on commit 366050b

Please sign in to comment.