[Nix-dev] default options not working

Lluís Batlle i Rossell viric at viric.name
Sun Dec 4 15:25:15 CET 2011


On Sun, Dec 04, 2011 at 03:22:06PM +0100, Mathijs Kwik wrote:
> installing with "nix-env -iA nixpkgs_sys.mypkgs" worked fine.
> Problem is: it should fail!
> The samba package requires a "kerberos" attribute when useKerberos is true.
> It asserts on this.
> Why doesn't this work?

callPackage is a clever thing, that fills the required attributes of the
function parameter. It fills the kerberos too.



More information about the nix-dev mailing list