[Nix-dev] default options not working

2011-12-04 Thread Mathijs Kwik
Hi all, In my ~/.nixpkgs/config.nix I put: { packageOverrides = pkgs: rec { mypkgs = pkgs.buildEnv { name = mypkgs; paths = [ samba ]; }; samba = pkgs.callPackage

Re: [Nix-dev] default options not working

2011-12-04 Thread Lluís Batlle i Rossell
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

Re: [Nix-dev] default options not working

2011-12-04 Thread Mathijs Kwik
ah, I hate magic :) should have thought of that. Thanks 2011/12/4 Lluís Batlle i Rossell vi...@viric.name: 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