munin: fix test

This commit is contained in:
Domen Kožar 2014-08-31 16:53:29 +02:00
parent a3d0fcda13
commit f70acd2584
2 changed files with 6 additions and 1 deletions

View File

@ -105,7 +105,7 @@ stdenv.mkDerivation rec {
*.jar) continue;;
esac
wrapProgram "$file" \
--set PERL5LIB "$out/lib/perl5/site_perl:${with perlPackages; stdenv.lib.makePerlPath [
--set PERL5LIB "$out/lib/perl5/site_perl:${rrdtool}/lib/perl:${with perlPackages; stdenv.lib.makePerlPath [
Log4Perl IOSocketInet6 Socket6 URI DBFile DateManip
HTMLTemplate FileCopyRecursive FCGI NetSNMP NetServer
ListMoreUtils TimeHiRes DBDPg LWPUserAgent

View File

@ -7,6 +7,11 @@ stdenv.mkDerivation {
sha256 = "07fgn0y4yj7p2vh6a37q273hf98gkfw2sdam5r1ldn1k0m1ayrqj";
};
buildInputs = [ gettext perl pkgconfig libxml2 pango cairo ];
postInstall = ''
# for munin support
mv $out/lib/perl/5*/*/*.pm $out/lib/perl/5*/
'';
meta = {
homepage = http://oss.oetiker.ch/rrdtool/;