diff --git a/http2.cabal b/http2.cabal
index fe57a48..b28ad06 100644
--- a/http2.cabal
+++ b/http2.cabal
@@ -204,6 +204,3 @@ Executable hpack-debug
     Buildable:          True
-  else
-    Buildable:          False
-  Main-Is:              hpack-debug.hs
-  Build-Depends:        base >= 4 && < 5
+    Build-Depends:      base >= 4 && < 5
                       , aeson
@@ -219,2 +216,5 @@ Executable hpack-debug
                       , word8
+  else
+    Buildable:          False
+  Main-Is:              hpack-debug.hs
 
