#865: Can't use command line options containing spaces
----------------------------+-----------------------------------------------
Reporter: bos | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Cabal library | Version: 1.10.1.0
Severity: normal | Resolution: worksforme
Keywords: | Difficulty: unknown
Ghcversion: | Platform:
----------------------------+-----------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => worksforme
Comment:
You can use options containing spaces in a .cabal file. You just have to
quote the entire option:
{{{
ghc-options: "--with-rtsopts=-N -qg"
}}}
The whole thing will be passed as a single option. The " will not be
passed.
This escaping (using Haskell String syntax) is documented in the user
guide.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/865#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
_______________________________________________
cabal-devel mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cabal-devel