On 12-11-27 04:40 AM, kudah wrote:
On Tue, 27 Nov 2012 02:20:35 -0500 "Albert Y. C. Lai" <tre...@vex.net>
wrote:

When "cabal build" succeeds, it always says:

(older) "registering <name>-<version>"
(newer) "In-place registering <name>-<version>"

That's what it says. But use ghc-pkg and other tests to verify that
no registration whatsoever has happened.

It doesn't register in user package-db, it registers in it's own
dist/package.conf.inplace. If it didn't you wouldn't be able to build
an executable and a library in one package such that executable depends
on the library.

That's fair. But it also means

cabal configure
cabal build

is not equivalent to

cabal configure
cabal build
cabal register --inplace

which was the context when you said "(newer) cabal build registers inplace automatically".

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to