summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorSarah Brofeldt <sbrofeldt@gmail.com>2018-08-25 09:35:05 +0200
committerGitHub <noreply@github.com>2018-08-25 09:35:05 +0200
commit147804d430d830caf26b8c27cb0acb4f1701e3d6 (patch)
treebbb8968cf9d28f441c5bd5a58b237f9249f456fa /pkgs
parent671888aeaab735321921daf2c8fd40689c899f97 (diff)
parentda0ce8ca52e425b548ace5e118c0dc9c0aafa90f (diff)
downloadnixlib-147804d430d830caf26b8c27cb0acb4f1701e3d6.tar
nixlib-147804d430d830caf26b8c27cb0acb4f1701e3d6.tar.gz
nixlib-147804d430d830caf26b8c27cb0acb4f1701e3d6.tar.bz2
nixlib-147804d430d830caf26b8c27cb0acb4f1701e3d6.tar.lz
nixlib-147804d430d830caf26b8c27cb0acb4f1701e3d6.tar.xz
nixlib-147804d430d830caf26b8c27cb0acb4f1701e3d6.tar.zst
nixlib-147804d430d830caf26b8c27cb0acb4f1701e3d6.zip
Merge pull request #45610 from xeji/patch/munin
munin: fix build
Diffstat (limited to 'pkgs')
-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 8bf9da22e728..2fec42edff33 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;