[Haskell-cafe] Another Cabal question
Edward Z. Yang
ezyang at mit.edu
Mon Jul 21 13:33:50 UTC 2014
Hello Jurriaan,
Cabal is unable to handle this sort of dependency. Something almost
close to what you want is might be 'build-tools', however.
Edward
Excerpts from Jurriaan Hage's message of 2014-07-21 14:16:24 +0100:
> Dear all,
>
> I have another issue:
> I have a Cabal package (call it A) that runtime depends on another (say B), where
> B provides (only) an executable that is compiled with the Make build-type.
>
> Now, I would like to list B under the build-depends of A (since there is no
> way to specify having just a run-time dependency), but it seems that
> when I cabal install B the package is not registered (although the executable
> does in fact become available to use within the standard directory.)
> So when I then compile A with Cabal it will complain the package is not registered.
>
> Does anyone know whether the behaviour for B is normal, or whether this is a bug
> of some kind? If the former, what is an easy and clean way of dealing with this situation.
>
> best,
> Jur
>
More information about the Haskell-Cafe
mailing list