fix cabal build-depends for nhc98
authorMalcolm.Wallace@cs.york.ac.uk <unknown>
Thu, 28 Aug 2008 10:47:33 +0000 (10:47 +0000)
committerMalcolm.Wallace@cs.york.ac.uk <unknown>
Thu, 28 Aug 2008 10:47:33 +0000 (10:47 +0000)
directory.cabal

index 4bf84fb..36fe5c7 100644 (file)
@@ -26,9 +26,11 @@ Library {
     install-includes: HsDirectory.h HsDirectoryConfig.h
     extensions: CPP, ForeignFunctionInterface
     build-depends: base, old-time, filepath
-    if os(windows) {
-        build-depends: Win32
-    } else {
-        build-depends: unix
+    if !impl(nhc98) {
+      if os(windows) {
+          build-depends: Win32
+      } else {
+          build-depends: unix
+      }
     }
 }