packageInstallDependencies :: PackageAction
packageInstallDependencies = do
    package <- ask
    ideR <- liftIDE ask
    interruptSaveAndRun $ do
        logLaunch <- getDefaultLogLaunch
        showDefaultLogLaunch'

        catchIDE (do
            prefs <- readIDE prefs
            let dir = ipdPackageDir package
            runExternalTool' (__ "Installing") (cabalCommand prefs) (
                   (if useCabalDev prefs
                        then ["install-deps"]
                        else ["install","--only-dependencies"])
                ++ ipdConfigFlags package
                ++ ipdInstallFlags package) dir $ do
                    logOutput logLaunch
                    lift $ postSyncIDE updateSystemInfo)
            (\(e :: SomeException) -> print e)
packageInstallDependencies :: PackageAction
packageInstallDependencies = do
    package <- ask
    ideR <- liftIDE ask
    interruptSaveAndRun $ do
        logLaunch <- getDefaultLogLaunch
        showDefaultLogLaunch'

        catchIDE (do
            prefs <- readIDE prefs
            let dir = ipdPackageDir package
            runExternalTool' (__ "Installing") (cabalCommand prefs) (
                   (if useCabalDev prefs
                        then ["install-deps"]
                        else ["install","--only-dependencies"])
                ++ ipdConfigFlags package
                ++ ipdInstallFlags package) dir $ do
                    logOutput logLaunch
                    lift $ postSyncIDE updateSystemInfo)
            (\(e :: SomeException) -> print e)
packageInstallDependencies = do
    package <- ask
    ideR <- liftIDE ask
    interruptSaveAndRun $ do
        logLaunch <- getDefaultLogLaunch
        showDefaultLogLaunch'

        catchIDE (do
            prefs <- readIDE prefs
            let dir = ipdPackageDir package
            runExternalTool' (__ "Installing") (cabalCommand prefs) (
                   (if useCabalDev prefs
                        then ["install-deps"]
                        else ["install","--only-dependencies"])
                ++ ipdConfigFlags package
                ++ ipdInstallFlags package) dir $ do
                    logOutput logLaunch
                    lift $ postSyncIDE updateSystemInfo)
            (\(e :: SomeException) -> print e)