[Nix-dev] writing a muttrc configuration file

stewart mackenzie setori88 at gmail.com
Fri May 29 12:33:09 CEST 2015


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?

> Most probably in the generated package directory (nix/store/...).
> writeTextFile appends destination to $out/, so it's
> $out/root/.muttrc.


More information about the nix-dev mailing list