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

copyFile can't handle directories #942

Merged
merged 1 commit into from
Sep 7, 2015
Merged

Conversation

ljli
Copy link
Contributor

@ljli ljli commented Sep 7, 2015

When I upgraded to stack 0.1.4.1, switched to LTS-3.4 and back to LTS 3.0, this happened:

> stack build
...
alex-3.1.4: copying precompiled package
happy-1.19.5: copying precompiled package
...
Pr/Users/johndoe/.stack/snapshots/x86_64-osx/lts-3.0/7.10.2/bin/: copyFile: inappropriate type (is a directory)
/Users/johndoe/.stack/snapshots/x86_64-osx/lts-3.0/7.10.2/bin/: copyFile: inappropriate type (is a directory)

This commit fixed it for me.

@snoyberg
Copy link
Contributor

snoyberg commented Sep 7, 2015

Good catch, thanks! Just waiting for Travis before merging.

snoyberg added a commit that referenced this pull request Sep 7, 2015
copyFile can't handle directories
@snoyberg snoyberg merged commit 51ac1bf into commercialhaskell:master Sep 7, 2015
@snoyberg
Copy link
Contributor

snoyberg commented Sep 7, 2015

Thanks!

snoyberg added a commit that referenced this pull request Sep 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants