mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
munin: *Flags are lists
This commit is contained in:
parent
12df4ccf7c
commit
8fb0e16133
@ -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..."
|
||||
|
Loading…
Reference in New Issue
Block a user