Don't try to unsetEnv on ghc-7.6

This commit is contained in:
Nikolay Yakimov 2016-08-03 14:25:05 +03:00
parent 6496b641c9
commit 4d4a9d048b
1 changed files with 2 additions and 0 deletions

View File

@ -13,7 +13,9 @@ import TestUtils
main :: IO ()
main = do
#if __GLASGOW_HASKELL__ >= 708
unsetEnv "GHC_PACKAGE_PATH"
#endif
let sandboxes = [ "test/data/cabal-project"
, "test/data/check-packageid"
, "test/data/duplicate-pkgver/"