Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

withShorterPathForNewBuildStore needs the windows tempDir hack #7549

Closed
gbaz opened this issue Aug 15, 2021 · 1 comment
Closed

withShorterPathForNewBuildStore needs the windows tempDir hack #7549

gbaz opened this issue Aug 15, 2021 · 1 comment

Comments

@gbaz
Copy link
Collaborator

gbaz commented Aug 15, 2021

In particular

withShorterPathForNewBuildStore :: (FilePath -> IO a) -> IO a

should make use of withTestDir

withTestDir :: Verbosity -> String -> (FilePath -> IO a) -> IO a

so that we don't get sporadic windows failures with removeDirectoryRecursive throwing on permissions errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants