
#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 | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: ---------------------------------+------------------------------------------ Changes (by dreixel): * cc: jpm@cs.uu.nl (added) Comment: When invoked with -v3: {{{
cabal build -v3 Using external setup method with build-type Custom Creating dist\setup (and its parents) Using Cabal library version 1.2.4.0 Using Setup.hs as setup script. ("dist\\setup\\setup.exe",["build","--verbose=3","--distpref=dist"]) setup.exe: Unrecognised flags: --distpref=dist dist\setup\setup.exe returned ExitFailure 1 }}}
Additionally, I found out that this problem no longer occurs after I upgraded to GHC 6.8.3 (from 6.8.2) and reinstalled Cabal and cabal- install... -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/328#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects