1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00

fix munin (and the test), refs #12801 #13999

(cherry picked from commit 7877e33af8)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
Domen Kožar 2016-03-28 10:25:46 +01:00
parent 8ffe681713
commit b4e2172ad4

View file

@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
doCheck = false;
checkPhase = ''
export PERL5LIB="$PERL5LIB:${rrdtool}/lib/perl"
export PERL5LIB="$PERL5LIB:${rrdtool}/lib/perl5/site_perl"
LC_ALL=C make -j1 test
'';
@ -109,10 +109,10 @@ stdenv.mkDerivation rec {
*.jar) continue;;
esac
wrapProgram "$file" \
--set PERL5LIB "$out/lib/perl5/site_perl:${rrdtool}/lib/perl:${with perlPackages; stdenv.lib.makePerlPath [
--set PERL5LIB "$out/lib/perl5/site_perl:${with perlPackages; stdenv.lib.makePerlPath [
Log4Perl IOSocketInet6 Socket6 URI DBFile DateManip
HTMLTemplate FileCopyRecursive FCGI NetCIDR NetSNMP NetServer
ListMoreUtils TimeHiRes DBDPg LWPUserAgent
ListMoreUtils TimeHiRes DBDPg LWPUserAgent rrdtool
]}"
done
'';