From 4c6aaec56520fea67a73aaad4f0f71746bffe2f5 Mon Sep 17 00:00:00 2001 From: Michael Thompson Date: Sat, 17 May 2014 13:48:31 -0400 Subject: no need to hide 'catch' This doesn't normally cause a problem because of some ghc workaround special to this case, but I was able to trigger an error with a complicated mixture of sandboxing, directing `cabal` to a locally installed ghc, and something else. `catch` isn't actually used in the file, so it seems it might as well go. --- Setup.hs | 1 - 1 file changed, 1 deletion(-) (limited to 'Setup.hs') diff --git a/Setup.hs b/Setup.hs index f5d18eee4..c1c3f6472 100644 --- a/Setup.hs +++ b/Setup.hs @@ -29,7 +29,6 @@ import Distribution.Verbosity ( Verbosity, silent ) import Distribution.Simple.InstallDirs (mandir, CopyDest (NoCopyDest), toPathTemplate) import Distribution.Simple.Utils (installOrdinaryFiles, info) import Distribution.Simple.Test (test) -import Prelude hiding (catch) import System.Process ( rawSystem ) import System.FilePath ( () ) import System.Directory ( findExecutable ) -- cgit v1.2.3