@@ -101,7 +101,7 @@ main = do
101101 hspec $ parallel $ do
102102 let shelly_ = void . shellyOb verbosity
103103
104− inTmp :: (Shelly.FilePath -> Sh a) -> IO ()
104+ inTmp :: (FilePath -> Sh a) -> IO ()
105105 inTmp f = withTmp (chdir <*> f)
106106
107107 withTmp f = shelly_ . withSystemTempDirectory "test λ" $ f . fromString
@@ -167,7 +167,7 @@ main = do
167167 if System.Info.os == "darwin"
168168 then it "can build ios" $ inTmpObInit $ \_ -> nixBuild ["-A", "ios.frontend"]
169169 else it "can build android after accepting license" $ inTmpObInit $ \dir -> do
170− let defaultNixPath = dir </> ("default.nix" :: Shelly.FilePath)
170+ let defaultNixPath = dir </> ("default.nix" :: FilePath)
171171 writefile defaultNixPath
172172 =<< T.replace
173173 "# config.android_sdk.accept_license = false;"
@@ -249,7 +249,7 @@ main = do
249249
250250
251251-- | Run `ob run` in the given directory (maximum of one level deep)
252−testObRunInDir :: Socket.PortNumber -> Socket.PortNumber -> Maybe Shelly.FilePath -> HTTP.Manager -> Sh ()
252+testObRunInDir :: Socket.PortNumber -> Socket.PortNumber -> Maybe FilePath -> HTTP.Manager -> Sh ()
253253testObRunInDir p0 p1 mdir httpManager = handle_sh (\case ExitSuccess -> pure (); e -> throw e) $ do
254254 let uri p = "http://localhost:" <> T.pack (show p) <> "/" -- trailing slash required for comparison
255255 writefile "config/common/route" $ uri p0
@@ -264,7 +264,7 @@ testObRunInDir p0 p1 mdir httpManager = handle_sh (\case ExitSuccess -> pure ();
264264 then errorExit $ "Reloading failed: expected " <> newUri <> " but got " <> runningUri
265265 else exit 0
266266
267−testThunkPack :: Shelly.FilePath -> Sh ()
267+testThunkPack :: FilePath -> Sh ()
268268testThunkPack path' = withTempFile (T.unpack $ toTextIgnore path') "test-file" $ \file handle -> do
269269 let pack' = readProcessWithExitCode "ob" ["thunk", "pack", T.unpack $ toTextIgnore path'] ""
270270 ensureThunkPackFails q = liftIO $ pack' >>= \case