[Haskell-cafe] Cabal-install prefix
Ivan Lazar Miljenovic
ivan.miljenovic at gmail.com
Wed Sep 22 02:11:34 EDT 2010
On 22 September 2010 15:55, N. Raghavendra <raghu at mri.ernet.in> wrote:
> I am new to Haskell, and am trying to install a package (scan) using
> cabal-install. I want it to install all files under the directory
> ${HOME}/nonvc, like in ~/nonvc/share and ~/nonvc/bin. So I specified
>
> install-dirs user
> -- prefix: /home/raghu/nonvc
In Haskell, -- is the start of a single-line comment (like // in
Java), and cabal-install has taken that for its configuration file
(rather than # like in most config files). So remove the -- from the
front of the line to get it working.
--
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com
More information about the Haskell-Cafe
mailing list