Add NondecreasingIndentation to the list of extensions ghc-darcs-git-switchover
authorIan Lynagh <igloo@earth.li>
Mon, 17 Jan 2011 19:24:43 +0000 (19:24 +0000)
committerIan Lynagh <igloo@earth.li>
Mon, 17 Jan 2011 19:24:43 +0000 (19:24 +0000)
directory.cabal

index b1f815f..a704b36 100644 (file)
@@ -30,6 +30,8 @@ Library {
     includes: HsDirectory.h
     install-includes: HsDirectory.h HsDirectoryConfig.h
     extensions: CPP, ForeignFunctionInterface
+    if impl(ghc >= 7.1)
+        extensions: NondecreasingIndentation
     build-depends: base >= 4.2 && < 4.4,
                    old-time >= 1.0 && < 1.1,
                    filepath >= 1.1 && < 1.3