summary refs log tree commit diff
path: root/pkgs/servers/monitoring/munin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/monitoring/munin/default.nix')
-rw-r--r--pkgs/servers/monitoring/munin/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/munin/default.nix b/pkgs/servers/monitoring/munin/default.nix
index 8bf9da22e72..2fec42edff3 100644
--- a/pkgs/servers/monitoring/munin/default.nix
+++ b/pkgs/servers/monitoring/munin/default.nix
@@ -52,6 +52,9 @@ stdenv.mkDerivation rec {
     perlPackages.IOStringy
   ];
 
+  # needs to find a local perl module during build
+  PERL_USE_UNSAFE_INC = stdenv.lib.optionalString (stdenv.lib.versionAtLeast (stdenv.lib.getVersion perl) "5.26") "1";
+
   # TODO: tests are failing http://munin-monitoring.org/ticket/1390#comment:1
   # NOTE: important, test command always exits with 0, think of a way to abort the build once tests pass
   doCheck = false;