[Hackage] #328: cabal-install passing --distpref to Setup.hs
compiled with older Cabal lib
Hackage
trac at galois.com
Tue Aug 19 06:37:32 EDT 2008
#328: cabal-install passing --distpref to Setup.hs compiled with older Cabal lib
---------------------------------+------------------------------------------
Reporter: duncan | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: HEAD
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.2
Platform: |
---------------------------------+------------------------------------------
Recently, while developing a package here in the group, we changed the
build-type from "Simple" to "Custom" to allow for "cabal test". The
Setup.hs simply calls defaultMainWithHooks with simpleUserHooks where
runTests has been redefined.
The problem is that this change gives me the following error when invoking
"cabal build" (after invoking "cabal configure"):
{{{
setup.exe: Unrecognised flags:
--distpref=dist
}}}
runhaskell Setup.hs build works fine, though. This happens on a win64
machine, cabal-install version 0.5.1 using version 1.4.0.1 of the library.
On a mac there seem to be no problems, though.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/328>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list