On Mon, Nov 26, 2012 at 06:21:33PM -0500, Albert Y. C. Lai wrote:
> "cabal configure" is used by a lot of programmers. Today. Why?
>
> Because they use it on their own projects. They use cabal-install as
> a builder, not exactly an installer.
Don't most devs nowadays use sandboxing, a.k.a. cabal-
On 12-11-27 04:40 AM, kudah wrote:
On Tue, 27 Nov 2012 02:20:35 -0500 "Albert Y. C. Lai"
wrote:
When "cabal build" succeeds, it always says:
(older) "registering -"
(newer) "In-place registering -"
That's what it says. But use ghc-pkg and other tests to verify that
no registration whatsoever
On Tue, 27 Nov 2012 02:20:35 -0500 "Albert Y. C. Lai"
wrote:
> When "cabal build" succeeds, it always says:
>
> (older) "registering -"
> (newer) "In-place registering -"
>
> That's what it says. But use ghc-pkg and other tests to verify that
> no registration whatsoever has happened.
It doesn
On 12-11-27 01:02 AM, kudah wrote:
On Mon, 26 Nov 2012 18:21:33 -0500 "Albert Y. C. Lai"
wrote:
Lastly, there is no "Setup install". Use "copy" and "register".
$ runghc Setup.hs --help
[...]
install Copy the files into the install locations. Run register.
copy Copy the
On Mon, 26 Nov 2012 18:21:33 -0500 "Albert Y. C. Lai"
wrote:
> Lastly, there is no "Setup install". Use "copy" and "register".
$ runghc Setup.hs --help
> This Setup program uses the Haskell Cabal Infrastructure.
> See http://www.haskell.org/cabal/ for more information.
>
> Usage: Setup.hs COMMA
On 12-11-26 04:34 AM, Kim-Ee Yeoh wrote:
Nice tip, Albert! Good to know! One question I have is, is (runghc
Setup.lhs) equivalent to (cabal) in
runghc Setup.lhs <$> [configure, build, install]
?
Setup defaults to --global --prefix=/usr/local
cabal defaults to --user --prefix=$HOME/.cabal
Thi
Nice tip, Albert! Good to know! One question I have is, is (runghc
Setup.lhs) equivalent to (cabal) in
runghc Setup.lhs <$> [configure, build, install]
?
On Mon, Nov 26, 2012 at 8:08 AM, Brent Yorgey wrote:
> > [cabal haddock, if you want]
> > cabal copy
> > cabal register
>
> Even this does no
Brent Yorgey writes:
> On Sun, Nov 25, 2012 at 06:09:26PM -0500, Albert Y. C. Lai wrote:
>> If you begin with "cabal configure", the correct idiom is:
>>
>> cabal configure [flags]
>> cabal build
>> [cabal haddock, if you want]
>> cabal copy
>> cabal register
>
> Even this does not do the same t
On Sun, Nov 25, 2012 at 06:09:26PM -0500, Albert Y. C. Lai wrote:
>
> If you begin with "cabal configure", the correct idiom is:
>
> cabal configure [flags]
> cabal build
> [cabal haddock, if you want]
> cabal copy
> cabal register
Even this does not do the same thing as 'cabal install', because
Among many programmers, and/or users who manually unpack source tarball
before installing, this idiom is very common:
cabal configure
cabal build
cabal install
This idiom is an urban legend, i.e., a popular error.
"cabal install" re-does the "configure" and the "build" steps, among
other thin
10 matches
Mail list logo