diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2018-09-15 15:34:10 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2018-09-15 15:34:10 +0300 |
commit | 22f1d377210266a8389bbe6db5eb49972aa64cc3 (patch) | |
tree | 574e5d3ba4b88c6c600c61e5f6e30a1443234e38 | |
parent | dfbd782783f643159a67452a313cf13fa7259134 (diff) | |
download | nixsap-22f1d377210266a8389bbe6db5eb49972aa64cc3.tar.gz |
Remove more of icinga2
-rw-r--r-- | modules/pkgs/icinga2/default.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/modules/pkgs/icinga2/default.nix b/modules/pkgs/icinga2/default.nix index c7967f9..ab41209 100644 --- a/modules/pkgs/icinga2/default.nix +++ b/modules/pkgs/icinga2/default.nix @@ -40,7 +40,17 @@ stdenv.mkDerivation rec { make install DESTDIR=$(pwd)/tmp mv -v tmp/$out $out mv -v tmp/icinga2 $out/icinga2 - rm -rvf $out/run + + rm -rvf \ + $out/icinga2/cache \ + $out/icinga2/etc/icinga2/features-enabled \ + $out/icinga2/etc/init.d \ + $out/icinga2/etc/logrotate.d \ + $out/icinga2/log \ + $out/icinga2/spool \ + $out/run \ + $out/share/doc/icinga2/markdown + for s in $out/icinga2/etc/icinga2/scripts/* ; do substituteInPlace $s --replace /usr/bin/printf printf done |