diff --git a/ghc-datasize.cabal b/ghc-datasize.cabal
--- a/ghc-datasize.cabal
+++ b/ghc-datasize.cabal
@@ -1,10 +1,10 @@
 name:               ghc-datasize
-version:            0.2.0
+version:            0.2.1
 license:            BSD3
 license-file:       LICENSE
 category:           GHC, Debug, Development
 cabal-version:      >= 1.10
-build-type:         Custom
+build-type:         Simple
 author:             Dennis Felsing <dennis@felsin9.de>
 maintainer:         Dennis Felsing <dennis@felsin9.de>
 homepage:           http://felsin9.de/nnis/ghc-datasize
@@ -22,7 +22,7 @@
   Default-Language: Haskell2010
   Build-depends: base == 4.*,
                  deepseq >= 1.3 && < 1.5,
-                 ghc-heap-view >= 0.5
+                 ghc-heap-view >= 0.6
   Hs-source-dirs: src/
   Ghc-options: -Wall
 
diff --git a/src/GHC/DataSize.hs b/src/GHC/DataSize.hs
--- a/src/GHC/DataSize.hs
+++ b/src/GHC/DataSize.hs
@@ -80,7 +80,7 @@
             else do
              size    <- closureSize y
              closure <- getClosureData y
-             foldM go (b : vs, acc + size) $ allPtrs closure
+             foldM go (b : vs, acc + size) $ allClosures closure
 
 -- | Calculate the recursive size of GHC objects in Bytes after calling
 -- Control.DeepSeq.force on the data structure to force it into Normal Form.
