mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
nixos/logrotate: add newline before extraConfig
Co-authored-by: Ryan Mulligan <ryan@ryantm.com>
This commit is contained in:
parent
90ce7f508a
commit
fe07adef7f
@ -51,8 +51,7 @@ let
|
||||
'';
|
||||
|
||||
configFile = pkgs.writeText "logrotate.conf" (
|
||||
(concatStringsSep "\n" (map pathConfig cfg.paths)) +
|
||||
cfg.extraConfig
|
||||
(concatStringsSep "\n" ((map pathConfig cfg.paths) ++ [cfg.extraConfig]))
|
||||
);
|
||||
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user