Skip to content

Commit 789fbe4

Browse files
authored
Merge pull request #3224 from felixonmars/patch-2
Rename PathException to InvalidPathException to avoid conflict with path 0.6+
2 parents b104f18 + fb3f76f commit 789fbe4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/System/Process/Read.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -423,11 +423,11 @@ getEnvOverride platform =
423423
mkEnvOverride platform
424424
. Map.fromList . map (T.pack *** T.pack)
425425

426-
newtype PathException = PathsInvalidInPath [FilePath]
426+
newtype InvalidPathException = PathsInvalidInPath [FilePath]
427427
deriving Typeable
428428

429-
instance Exception PathException
430-
instance Show PathException where
429+
instance Exception InvalidPathException
430+
instance Show InvalidPathException where
431431
show (PathsInvalidInPath paths) = unlines $
432432
[ "Would need to add some paths to the PATH environment variable \
433433
\to continue, but they would be invalid because they contain a "

0 commit comments

Comments
 (0)