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
# developers have forgotten to use PREFIX everywhere, so we use DESTDIR to
# ensure that everything is installed in $out.
makeFlags = ''
PREFIX=$(out)
DESTDIR=$(out)
PERLLIB=$(out)/${perlPackages.perl.libPrefix}
PERL=${perlPackages.perl.outPath}/bin/perl
PYTHON=${python.outPath}/bin/python
RUBY=${ruby.outPath}/bin/ruby
JAVARUN=${jre.outPath}/bin/java
PLUGINUSER=munin
'';
makeFlags = [
"PREFIX=$(out)"
"DESTDIR=$(out)"
"PERLLIB=$(out)/${perlPackages.perl.libPrefix}"
"PERL=${perlPackages.perl.outPath}/bin/perl"
"PYTHON=${python.outPath}/bin/python"
"RUBY=${ruby.outPath}/bin/ruby"
"JAVARUN=${jre.outPath}/bin/java"
"PLUGINUSER=munin"
];
postFixup = ''
echo "Removing references to /usr/{bin,sbin}/ from munin plugins..."