[Nix-dev] [nix-dev] svn sasl support

Lluís Batlle i Rossell viric at viric.name
Sun Jan 15 22:09:57 CET 2012


On Mon, Jan 16, 2012 at 01:06:33AM +0400, Sergey Mironov wrote:
> What should I write to override this setting? Could you please give me an
> example (sorry, my nix-skill is still weak)? Or maybe should we write
> something like this:
> 
>   subversion = callPackage
> ../applications/version-management/subversion/default.nix {
>     neon = pkgs.neon029;
>     ...
>     saslSupport = getConfig [ "subversion" "saslSupport" ] false;
>     ...
>   };

If you write that saslSupport with getConfig, in your ~/.nixpkgs/config.nix,
write:
{
    subversion.saslSupport = true;
}

Otherwise, you'll have to go like:
{ pkgs, ... }: 
{
    packageOverrides = pkgs: {
        subversion = pkgs.subversion.override {
            saslSupport = true;
        };
    };
}


More information about the nix-dev mailing list