munin: *Flags are lists

This commit is contained in:
Robin Gloster 2019-10-29 23:21:22 +01:00 committed by Jan Tojnar
parent 12df4ccf7c
commit 8fb0e16133
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -92,16 +92,16 @@ stdenv.mkDerivation rec {
# DESTDIR shouldn't be needed (and shouldn't have worked), but munin # DESTDIR shouldn't be needed (and shouldn't have worked), but munin
# developers have forgotten to use PREFIX everywhere, so we use DESTDIR to # developers have forgotten to use PREFIX everywhere, so we use DESTDIR to
# ensure that everything is installed in $out. # ensure that everything is installed in $out.
makeFlags = '' makeFlags = [
PREFIX=$(out) "PREFIX=$(out)"
DESTDIR=$(out) "DESTDIR=$(out)"
PERLLIB=$(out)/${perlPackages.perl.libPrefix} "PERLLIB=$(out)/${perlPackages.perl.libPrefix}"
PERL=${perlPackages.perl.outPath}/bin/perl "PERL=${perlPackages.perl.outPath}/bin/perl"
PYTHON=${python.outPath}/bin/python "PYTHON=${python.outPath}/bin/python"
RUBY=${ruby.outPath}/bin/ruby "RUBY=${ruby.outPath}/bin/ruby"
JAVARUN=${jre.outPath}/bin/java "JAVARUN=${jre.outPath}/bin/java"
PLUGINUSER=munin "PLUGINUSER=munin"
''; ];
postFixup = '' postFixup = ''
echo "Removing references to /usr/{bin,sbin}/ from munin plugins..." echo "Removing references to /usr/{bin,sbin}/ from munin plugins..."