From da0ce8ca52e425b548ace5e118c0dc9c0aafa90f Mon Sep 17 00:00:00 2001 From: Uli Baum Date: Sat, 25 Aug 2018 01:00:05 +0200 Subject: [PATCH] munin: fix build fallout from perl 5.24 -> 5.28 update --- pkgs/servers/monitoring/munin/default.nix | 3 +++ 1 file changed, 3 insertions(+) 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;