Skip to content

cabal sdist does not call the sdist build hook in custom Setup.hs #403

Closed
@bos

Description

@bos

(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).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions