diff --git a/shakers.cabal b/shakers.cabal
--- a/shakers.cabal
+++ b/shakers.cabal
@@ -1,5 +1,5 @@
 name: shakers
-version: 0.0.30
+version: 0.0.31
 cabal-version: >=1.22
 build-type: Simple
 license: MIT
diff --git a/src/Development/Shakers.hs b/src/Development/Shakers.hs
--- a/src/Development/Shakers.hs
+++ b/src/Development/Shakers.hs
@@ -132,7 +132,7 @@
 -- | Wrapper around getting the environment that throws error.
 --
 getVar :: String -> Action String
-getVar k = getEnv k >>= maybe (liftIO $ throwIO $ userError $ "No env: " <> k) return
+getVar k = getEnv k >>= maybe (liftIO $ throwIO $ userError $ "No env: " <> k) pure
 
 -- | Wrapper round getting the environment that returns a bool if env is present.
 --
@@ -514,7 +514,7 @@
   preprocess file (file <.> "m4") $ do
     need [ metaFile "cabalVersion" ]
     version <- dropWhile (not . isDigit) <$> gitVersion dir
-    return [ ("VERSION", version) ]
+    pure [ ("VERSION", version) ]
 
   -- | publish
   --
