From c45f4f7535dae8680e999a75d70b14b9f940dbd2 Mon Sep 17 00:00:00 2001
From: Ian Lynagh <igloo@earth.li>
Date: Mon, 17 Jan 2011 19:24:30 +0000
Subject: [PATCH] Add NondecreasingIndentation to the list of extensions

---
 unix.cabal | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/unix.cabal b/unix.cabal
index 24b91fb..cc33587 100644
--- a/unix.cabal
+++ b/unix.cabal
@@ -48,7 +48,9 @@ Library
         System.Posix.Semaphore
         System.Posix.SharedMem
     build-depends:	base >= 4.2 && < 4.4
-    extensions:	CPP, ForeignFunctionInterface, EmptyDataDecls
+    extensions: CPP, ForeignFunctionInterface, EmptyDataDecls
+    if impl(ghc >= 7.1)
+        extensions: NondecreasingIndentation
     include-dirs: 	include
     includes:       HsUnix.h execvpe.h
     install-includes:
-- 
GitLab