0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

tree-wide: fix more warning related to loaOf deprecation

This commit is contained in:
Jan Tojnar 2020-01-11 08:09:56 +01:00
parent 5961f211f3
commit e85b34c484
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
3 changed files with 13 additions and 16 deletions

View file

@ -612,10 +612,7 @@ in
{
environment = {
etc = singleton
{ source = "/var/lib/postfix/conf";
target = "postfix";
};
etc.postfix.source = "/var/lib/postfix/conf";
# This makes it comfortable to run 'postqueue/postdrop' for example.
systemPackages = [ pkgs.postfix ];

View file

@ -124,7 +124,7 @@ in
# Allow users to run 'spamc'.
environment = {
etc = singleton { source = spamdEnv; target = "spamassassin"; };
etc.spamassassin.source = spamdEnv;
systemPackages = [ pkgs.spamassassin ];
};