Hi Marc.
On Wed, Jul 30, 2008 at 7:19 AM, Marc Weber <[EMAIL PROTECTED]> wrote:
> Which is the best way to catch this case:
> You forget to enable perl bindings in subversion,
> you enable svnSupport in git and wonder why git-svn can't find all
> libraries..
My personal preference is to avoid assertions, and instead have
packages select the dependencies they really need. Assuming we
have a function
subversion = { perlBindings ? false } : ...
then git should just be
git = { stdenv , subversion , ... } :
stdenv.mkDerivation {
...
buildInputs = [ (subversion { perlBindings = true }) ... ];
...
}
Cheers,
Andres
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev