stackage-install 0.1.0.0 → 0.1.0.1
raw patch · 4 files changed
+9/−3 lines, 4 files
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Stackage/Install.hs +3/−1
- stackage-install.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+# 0.1.0.1++* Use `cabal fetch --dry-run`+ # 0.1.0.0 * Initial release
README.md view
@@ -11,7 +11,7 @@ foo` with [stackage-cli](http://github.com/fpco/stackage-cli) installed), which will perform the following steps: -1. Run `cabal install --dry-run ...` to get cabal's build plan+1. Run `cabal fetch --dry-run ...` to get cabal's build plan 2. Download the relevant packages from S3, and place them in the locations that `cabal-install` expects 3. Run `cabal install ...`
Stackage/Install.hs view
@@ -35,7 +35,9 @@ -- Since 0.1.0.0 install :: Settings -> [String] -> IO ExitCode install s args = do- out <- readProcess (_cabalCommand s) ("install":"--dry-run":args) ""+ out <- readProcess (_cabalCommand s)+ ("fetch":"--dry-run":if null args then ["."] else args)+ "" let pkgs = map toPair $ filter (not . toIgnore) $ lines out download s pkgs rawSystem (_cabalCommand s) ("install":args)
stackage-install.cabal view
@@ -1,5 +1,5 @@ name: stackage-install-version: 0.1.0.0+version: 0.1.0.1 synopsis: Secure download of packages for cabal-install description: For more information, see <https://www.stackage.org/package/stackage-install> homepage: https://github.com/fpco/stackage-install