diff --git a/pkgs/tools/misc/rrdtool/default.nix b/pkgs/tools/misc/rrdtool/default.nix index 11f9d32b1545..524e61dfaf37 100644 --- a/pkgs/tools/misc/rrdtool/default.nix +++ b/pkgs/tools/misc/rrdtool/default.nix @@ -9,8 +9,9 @@ stdenv.mkDerivation rec { buildInputs = [ gettext perl pkgconfig libxml2 pango cairo groff ]; postInstall = '' - # for munin support - mv $out/lib/perl/5*/*/*.pm $out/lib/perl/5*/ + # for munin and rrdtool support + mkdir -p $out/lib/perl5/site_perl/ + mv $out/lib/perl/5* $out/lib/perl5/site_perl/ ''; meta = with stdenv.lib; {