Skip to content

Commit

Permalink
Fix pathExists to also accept dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
layus committed Nov 18, 2020
1 parent 53b4db2 commit dc31c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nix/Effects.hs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ instance MonadInstantiate IO where
++ err

pathExists :: MonadFile m => FilePath -> m Bool
pathExists = doesFileExist
pathExists = doesPathExist

class Monad m => MonadEnv m where
getEnvVar :: String -> m (Maybe String)
Expand Down

0 comments on commit dc31c5e

Please sign in to comment.