diff --git a/hasktags.cabal b/hasktags.cabal
--- a/hasktags.cabal
+++ b/hasktags.cabal
@@ -1,5 +1,5 @@
 Name: hasktags
-Version: 0.69.2
+Version: 0.69.2.1
 Copyright: The University Court of the University of Glasgow
 License: BSD3
 License-File: LICENSE
@@ -85,27 +85,6 @@
   if flag(debug)
     cpp-options: -Ddebug
 
-Executable test
-    Main-Is: Test.hs
-    Build-Depends:
-      utf8-string,
-      base,
-      bytestring,
-      directory,
-      filepath,
-      json,
-      HUnit
-    other-modules: Tags, Hasktags, DebugShow
-    hs-source-dirs: src, tests
-    ghc-options: -Wall
-    default-language: Haskell2010
-
-  if !os(windows)
-    build-depends: unix
-
-  if flag(debug)
-    cpp-options: -Ddebug
-
 Test-Suite testsuite
   Type: exitcode-stdio-1.0
   Main-Is: Test.hs
@@ -122,6 +101,9 @@
   other-modules: Tags, Hasktags, DebugShow
   ghc-options: -Wall
   default-language: Haskell2010
+
+  if !os(windows)
+    build-depends: unix
 
   if flag(debug)
     cpp-options: -Ddebug
