From 23a9b9b88a06923f1afc0eede65f2c0b73125886 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Sun, 7 Feb 2016 17:16:30 +0100 Subject: [PATCH] rrdtool: move perl libraries to the expected place closes #12801 --- pkgs/tools/misc/rrdtool/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/rrdtool/default.nix b/pkgs/tools/misc/rrdtool/default.nix index 11f9d32b154..524e61dfaf3 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; {