Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
17474f58
Commit
17474f58
authored
Dec 03, 2014
by
Christiaan Baaij
Browse files
Add comment on canonicalizePathNoFail
parent
7e364430
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Distribution/Simple/LocalBuildInfo.hs
View file @
17474f58
...
...
@@ -456,6 +456,8 @@ depLibraryPaths inplace relative lbi clbi = do
return
libPaths
where
internal
pkgid
=
pkgid
==
packageId
(
localPkgDescr
lbi
)
-- 'canonicalizePath' fails on UNIX when the directory does not exists.
-- So just don't canonicalize when it doesn't exist.
canonicalizePathNoFail
p
=
do
exists
<-
doesDirectoryExist
p
if
exists
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment