forked from mirrors/nixpkgs
tree-wide: fix more warning related to loaOf deprecation
This commit is contained in:
parent
5961f211f3
commit
e85b34c484
|
@ -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 ];
|
||||
|
|
|
@ -124,7 +124,7 @@ in
|
|||
# Allow users to run 'spamc'.
|
||||
|
||||
environment = {
|
||||
etc = singleton { source = spamdEnv; target = "spamassassin"; };
|
||||
etc.spamassassin.source = spamdEnv;
|
||||
systemPackages = [ pkgs.spamassassin ];
|
||||
};
|
||||
|
||||
|
|
|
@ -8,18 +8,18 @@
|
|||
# udev.packages = [ pkgs.rfkill_udev ];
|
||||
#
|
||||
# Add a hook script in the managed etc directory, e.g.:
|
||||
# etc = [
|
||||
# { source = pkgs.writeScript "rtfkill.hook" ''
|
||||
# #!${pkgs.runtimeShell}
|
||||
# etc."rfkill.hook" = {
|
||||
# mode = "0755";
|
||||
# text = ''
|
||||
# #!${pkgs.runtimeShell}
|
||||
#
|
||||
# if [ "$RFKILL_STATE" -eq "1" ]; then
|
||||
# exec ${config.system.build.upstart}/sbin/initctl emit -n antenna-on
|
||||
# else
|
||||
# exec ${config.system.build.upstart}/sbin/initctl emit -n antenna-off
|
||||
# fi
|
||||
# '';
|
||||
# target = "rfkill.hook";
|
||||
# }
|
||||
# if [ "$RFKILL_STATE" -eq "1" ]; then
|
||||
# exec ${config.system.build.upstart}/sbin/initctl emit -n antenna-on
|
||||
# else
|
||||
# exec ${config.system.build.upstart}/sbin/initctl emit -n antenna-off
|
||||
# fi
|
||||
# '';
|
||||
# }
|
||||
|
||||
# Note: this package does not need the binaries
|
||||
# in the rfkill package.
|
||||
|
|
Loading…
Reference in a new issue