diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,13 @@
 
 The format is based on [Keep a Changelog](http://keepachangelog.com/).
 
+## [0.1.0.1] - 2018-03-12
+### Fixed
+  * Build fix for Cabal-2.2 (ghc-8.4)
+
 ## 0.1.0.0 - 2017-08-24
 
-* First version; split off from [bmsherman/cublas](https://github.com/bmsherman/cublas). Released on an unsuspecting world.
+  * First version; split off from [bmsherman/cublas](https://github.com/bmsherman/cublas). Released on an unsuspecting world.
+
+[0.1.0.1]:    https://github.com/tmcdonell/cusparse/compare/0.1.0.0...0.1.0.1
 
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,7 +1,10 @@
 Haskell FFI Bindings to cuSPARSE
 ================================
 
-[![Build status](https://travis-ci.org/tmcdonell/cusparse.svg?branch=master)](https://travis-ci.org/tmcdonell/cusparse)
+[![Travis build status](https://img.shields.io/travis/tmcdonell/cusparse/master.svg?label=linux)](https://travis-ci.org/tmcdonell/cusparse)
+[![AppVeyor build status](https://img.shields.io/appveyor/ci/tmcdonell/cusparse/master.svg?label=windows)](https://ci.appveyor.com/project/tmcdonell/cusparse)
+[![Stackage LTS](https://stackage.org/package/cusparse/badge/lts)](https://stackage.org/lts/package/cusparse)
+[![Stackage Nightly](https://stackage.org/package/cusparse/badge/nightly)](https://stackage.org/nightly/package/cusparse)
 [![Hackage](https://img.shields.io/hackage/v/cusparse.svg)](https://hackage.haskell.org/package/cusparse)
 
 The cuSPARSE library contains a set of basic linear algebra subroutines for
diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -6,7 +6,6 @@
 #endif
 
 import Distribution.PackageDescription
-import Distribution.PackageDescription.Parse
 import Distribution.Simple
 import Distribution.Simple.Command
 import Distribution.Simple.LocalBuildInfo
@@ -21,6 +20,11 @@
 import Distribution.PackageDescription.PrettyPrint
 import Distribution.Version
 #endif
+#if MIN_VERSION_Cabal(2,2,0)
+import Distribution.PackageDescription.Parsec
+#else
+import Distribution.PackageDescription.Parse
+#endif
 
 import Foreign.CUDA.Path
 import System.Directory
@@ -183,7 +187,7 @@
           notice verbosity $ printf "Provide a '%s' file to override this behaviour.\n" customBuildInfoFilePath
           readHookedBuildInfo verbosity generatedBuildInfoFilePath
         else
-          die $ printf "Unexpected failure. Neither the default %s nor custom %s exist.\n" generatedBuildInfoFilePath customBuildInfoFilePath
+          die' verbosity $ printf "Unexpected failure. Neither the default %s nor custom %s exist.\n" generatedBuildInfoFilePath customBuildInfoFilePath
 
 
 -- Replicate the default C2HS preprocessor hook here, and inject a value for
@@ -204,7 +208,7 @@
       { platformIndependent = False
       , runPreProcessor     = \(inBaseDir, inRelativeFile)
                                (outBaseDir, outRelativeFile) verbosity ->
-          rawSystemProgramConf verbosity c2hsProgram (withPrograms lbi) . filter (not . null) $
+          runDbProgram verbosity c2hsProgram (withPrograms lbi) . filter (not . null) $
             maybe [] words (lookup "x-extra-c2hs-options" (customFieldsBI bi))
             ++ ["--include=" ++ outBaseDir]
             ++ ["--cppopts=" ++ opt | opt <- getCppOptions bi lbi]
@@ -242,5 +246,10 @@
 #if MIN_VERSION_Cabal(1,25,0)
 versionBranch :: Version -> [Int]
 versionBranch = versionNumbers
+#endif
+
+#if !MIN_VERSION_Cabal(2,0,0)
+die' :: Verbosity -> String -> IO a
+die' _ = die
 #endif
 
diff --git a/cusparse.cabal b/cusparse.cabal
--- a/cusparse.cabal
+++ b/cusparse.cabal
@@ -1,5 +1,5 @@
 name:                   cusparse
-version:                0.1.0.0
+version:                0.1.0.1
 synopsis:               FFI bindings to the CUDA Sparse BLAS library
 description:
     The cuSPARSE library contains a set of basic linear algebra subroutines for
@@ -20,7 +20,7 @@
 maintainer:             Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
 copyright:              Copyright (c) [2017]. Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
 category:               Foreign
-cabal-version:          >=1.8
+cabal-version:          >=1.24
 
 build-type:             Custom
 extra-tmp-files:        cusparse.buildinfo.generated
@@ -32,7 +32,7 @@
 custom-setup
   setup-depends:
       base              >= 4.6
-    , Cabal             >= 1.22
+    , Cabal             >= 1.24
     , cuda              >= 0.8
     , directory         >= 1.0
     , filepath          >= 1.0
@@ -60,6 +60,9 @@
       Foreign.CUDA.BLAS.Sparse.Internal.C2HS
       Foreign.CUDA.BLAS.Sparse.Internal.Types
 
+  default-language:
+      Haskell2010
+
   build-depends:
       base                              == 4.*
     , cuda                              >= 0.8
@@ -83,6 +86,6 @@
 source-repository this
     type:               git
     location:           https://github.com/tmcdonell/cusparse
-    tag:                0.1.0.0
+    tag:                0.1.0.1
 
 -- vim: nospell
