Don't try to unsetEnv on ghc-7.6
This commit is contained in:
parent
6496b641c9
commit
4d4a9d048b
@ -13,7 +13,9 @@ import TestUtils
|
|||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main = do
|
main = do
|
||||||
|
#if __GLASGOW_HASKELL__ >= 708
|
||||||
unsetEnv "GHC_PACKAGE_PATH"
|
unsetEnv "GHC_PACKAGE_PATH"
|
||||||
|
#endif
|
||||||
let sandboxes = [ "test/data/cabal-project"
|
let sandboxes = [ "test/data/cabal-project"
|
||||||
, "test/data/check-packageid"
|
, "test/data/check-packageid"
|
||||||
, "test/data/duplicate-pkgver/"
|
, "test/data/duplicate-pkgver/"
|
||||||
|
Loading…
Reference in New Issue
Block a user