Skip to content

Commit

Permalink
Pure is not in Prelude for older GHCs
Browse files Browse the repository at this point in the history
  • Loading branch information
rdnetto committed Mar 4, 2018
1 parent 43361c9 commit 6fa06b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Setup.hs
Expand Up @@ -133,7 +133,7 @@ libraryBuildInfo profile installPath platform@(Platform arch os) ghcVersion extr
takeFirstExisting paths = do
existing <- filterM doesDirectoryExist libraryPaths
case existing of
(p0:_) -> pure p0
(p0:_) -> return p0
_ -> die $ "Could not find path: " ++ show paths

-- This can only be defined once, so take the first path which exists
Expand Down

0 comments on commit 6fa06b7

Please sign in to comment.