diff --git a/cblrepo.cabal b/cblrepo.cabal
--- a/cblrepo.cabal
+++ b/cblrepo.cabal
@@ -1,5 +1,5 @@
 name: cblrepo
-version: 0.2.2
+version: 0.2.3
 cabal-version: >= 1.6
 license: OtherLicense
 license-file: LICENSE-2.0
@@ -31,7 +31,7 @@
     build-depends: base ==4.3.*, cmdargs ==0.7.*, filepath ==1.2.*,
         directory ==1.1.*, Cabal ==1.10.*, json ==0.4.*,
         bytestring ==0.9.*, tar ==0.3.*, zlib ==0.5.*, mtl ==2.0.*,
-        process ==1.0.*, Unixutils ==1.36.*, unix ==2.4.*,
+        process ==1.0.*, Unixutils ==1.46.*, unix ==2.4.*,
         ansi-wl-pprint ==0.6.*
 
 executable tests
diff --git a/src/Util/Misc.hs b/src/Util/Misc.hs
--- a/src/Util/Misc.hs
+++ b/src/Util/Misc.hs
@@ -106,7 +106,7 @@
     case ec of
         ExitSuccess -> return ()
         ExitFailure _ ->
-            hPutStrLn stderr "Failed patching the .cabal file" >> exitFailure
+            hPutStrLn stderr ("Failed patching " ++ origFilename ++ " with " ++ patchFilename) >> exitFailure
 
 applyPatchIfExist origFilename patchFilename =
     fileExist patchFilename >>= flip when (applyPatch origFilename patchFilename)
