Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tar 0.4

  • Loading branch information...
commit 6ee218841415d0bf272ffba8461ff6f676d9e6d7 1 parent d543e5e
@snoyberg snoyberg authored
Showing with 4 additions and 3 deletions.
  1. +2 −1  cabal-src-install.hs
  2. +2 −2 cabal-src.cabal
View
3  cabal-src-install.hs
@@ -10,6 +10,7 @@ import Data.Monoid (mempty)
import qualified Data.ByteString as S
import qualified Data.ByteString.Lazy as L
import Control.Applicative ((<$>))
+import Control.Exception (throw)
rawSystem' :: String -> [String] -> IO ()
rawSystem' a b = do
@@ -47,7 +48,7 @@ addToDB name ver = do
e <- doesFileExist tb
entries <-
if e
- then Tar.foldEntries (:) [] error . Tar.read . L.fromChunks . return
+ then Tar.foldEntries (:) [] throw . Tar.read . L.fromChunks . return
<$> S.readFile tb
else return []
cabalLBS <- L.readFile $ name ++ ".cabal"
View
4 cabal-src.cabal
@@ -1,5 +1,5 @@
Name: cabal-src
-Version: 0.2
+Version: 0.2.0.1
Synopsis: Alternative install procedure to avoid the diamond dependency issue.
Description: Please see the README.md file on Github for more information: <https://github.com/yesodweb/cabal-src/blob/master/README.md>.
License: BSD3
@@ -16,7 +16,7 @@ Executable cabal-src-install
Main-is: cabal-src-install.hs
Build-depends: base >= 4 && < 5
, bytestring
- , tar
+ , tar >= 0.4 && < 0.5
, directory
, process
Please sign in to comment.
Something went wrong with that request. Please try again.