-
Notifications
You must be signed in to change notification settings - Fork 696
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
cabal sdist does not call the sdist build hook in custom Setup.hs #403
Comments
(Imported comment by @dcoutts on 2008-11-20) See #372. What we need is for the command line interface to support generating a tarball image in a given location. That way an external tool like cabal-install can call it and then call tar itself. |
I just ran into this problem. I was stumped for quite a while wondering why my custom sdist hook wasn't working when I did Any prospect of getting this fixed? |
For sandboxes, we need a way to list all source files of a package. It'd be nice if one could run |
I want to fix this for 1.18. Packages with custom preprocessors are really not uncommon. |
(Imported from Trac #410, reported by @dcoutts on 2008-11-20)
The cabal sdist command only runs the default actions, it does not call the sdist hook that gets called if you runghc Setup sdist.
The problem is there is no external method for invoking the sdist hook. Calling ./setup sdist performs the whole action, but we only want to prepare the tree and not tar it up, since cabal sdist uses internal tar code rather than calling an external tar program (which typically does not exist on windows).
The text was updated successfully, but these errors were encountered: