The following error is Windows specific, I encountered it while compiling with cabal on a VM which shares a directory with the host using a network drive (this is what VirtualBox does). The original bug report is here https://github.com/haskell/cabal/issues/6308. The gist of the problem is that:
the current directory is a network drive iohk (\\VBOXSvr) (Z:)
assuming that some.file in the current directory exists:
>>> canonicalisePath "some.file" >>= \path -> openFile path ReadMode
*** Exception: \\VBoxSvr\iohk\test.file: openFile: does not exist (No such file or directory)
The following error is Windows specific, I encountered it while compiling with
cabal
on a VM which shares a directory with the host using a network drive (this is what VirtualBox does). The original bug report is here https://github.com/haskell/cabal/issues/6308. The gist of the problem is that:iohk (\\VBOXSvr) (Z:)
some.file
in the current directory exists:but
while
runs fine.