1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
nixpkgs/nixos
Bjørn Forsman 12e84c6378 nixos/postfix: make symlink /var/mail -> /var/spool/mail
This solves the problem of e.g. mutt not finding mail unless the user
sets MAIL=/var/spool/mail/$USER.

The default MAIL variable seems come from bash. Reasons for adding
symlink instead of changing MAIL default in bash:

- No need to rebuild world
- FHS recommends /var/mail over /var/spool/mail anyway[1]. Better fix
  NixOS mail location than change MAIL in bash to something that doesn't
  work on non-NixOS (however unlikely that users run nixpkgs bash on a
  non-NixOS distro...).

[1] http://www.pathname.com/fhs/pub/fhs-2.3.html#VARMAILUSERMAILBOXFILES
2015-06-07 10:38:11 +02:00
..
doc/manual Add some info about editors 2015-06-04 14:32:10 +02:00
lib nixos/test-driver: Fix bashism in Machine.pm. 2015-05-22 08:10:17 +02:00
maintainers nixos/initrd: Generic library copying 2015-03-28 18:37:29 -07:00
modules nixos/postfix: make symlink /var/mail -> /var/spool/mail 2015-06-07 10:38:11 +02:00
tests Remove dead code 2015-06-03 16:38:52 +02:00
COPYING
default.nix
README
release-combined.nix nixos: Add lightdm test to the "tested" job. 2015-05-28 10:27:29 +02:00
release-small.nix Rename scrubDrv -> hydraJob and make it more effective 2015-03-20 19:46:18 +01:00
release.nix nixos: Add lightdm test to release.nix. 2015-05-28 10:25:11 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.