[Hackage] #166: sdist puts Happy-generated .hs files in the wrong place
#166: sdist puts Happy-generated .hs files in the wrong place ---------------------+------------------------------------------------------ Reporter: guest | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal | Version: 1.2.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.6 Platform: Linux | ---------------------+------------------------------------------------------ I want to use sdist to generate source distributions of Happy that don't depend on Happy, and hence come with the Happy-generated .hs files for the parsers. When I try this, the source files are included, but in the root of the tree, whereas Cabal seems to look for them in `dist/build`. I can move them by hand and re-generate the tarball, and that works. I'm fairly sure this worked with older versions of Cabal. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/166> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#166: sdist puts Happy-generated .hs files in the wrong place ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: new Priority: high | Milestone: Cabal-1.4 Component: Cabal library | Version: 1.2.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.6 | Platform: Linux ----------------------------+----------------------------------------------- Changes (by duncan): * priority: normal => high * milestone: => Cabal-1.4 -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/166#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#166: sdist puts Happy-generated .hs files in the wrong place ----------------------------+----------------------------------------------- Reporter: guest | Owner: Type: defect | Status: closed Priority: high | Milestone: Cabal-1.4 Component: Cabal library | Version: 1.2.0 Severity: normal | Resolution: fixed Keywords: | Difficulty: normal Ghcversion: 6.6 | Platform: Linux ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => fixed Comment: {{{ Sun Mar 23 14:54:52 GMT 2008 Andrea Vezzosi <sanzhiyan@gmail.com> * FIX #166 by setting the right buildDir when preprocessing in sdist }}} This fixes the immediate problem. The rest of the problem is that tarballs that have pre-generated files in dist/ will get cleaned. They should really go in another dir that is checked but not cleaned. I'll open a separate bug on that issue. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/166#comment:2> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
participants (1)
-
Hackage