--On 2015-05-29 18:33, stewart mackenzie wrote:
> Okay yes it wrote to /nix/store, so this approach won't work as Mutt
> won't see /nix/store/kl3v8gvzk4c3q7zfjcjpm4kb3c248ahl-muttrc/root
> 
> So it would be great to open Mutt and it automatically opens to the
> correct location: /var/spool/mail/root
> and not /var/mail/root
> 
> How do I do this?

You can override configureFlags with pkg.lib.overrideDerivation.
configure flag should be (I guess)
--with-mail-path="/var/spool/mail"

See the docs here:
http://nixos.org/nixos/manual/sec-package-management.html#sec-customising-packages

regards
hendrik

-- 
Dr. Hendrik Bunke
http://gplus.to/hbunke
http://twitter.com/hbunke
http://www.hbxt.org
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to