From d88f4efd0b1172450cfd211ae659cc4f09ce6689 Mon Sep 17 00:00:00 2001 From: Marwan Aljubeh Date: Mon, 24 Jun 2019 23:42:30 +0100 Subject: [PATCH] munin: Use `outPath` for packages in `makeFlags` With this change, evaluating the `makeFlags` attribute does not result in building the referenced packages. This makes it possible for users to override `buildInputs` and remove inputs they don't want without having to also make a modified copy of the `makeFlags` attribute. An example use case is to remove the `jre` dependency. --- pkgs/servers/monitoring/munin/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/monitoring/munin/default.nix b/pkgs/servers/monitoring/munin/default.nix index 183cc3a2b95..d978cb003c7 100644 --- a/pkgs/servers/monitoring/munin/default.nix +++ b/pkgs/servers/monitoring/munin/default.nix @@ -96,10 +96,10 @@ stdenv.mkDerivation rec { PREFIX=$(out) DESTDIR=$(out) PERLLIB=$(out)/${perlPackages.perl.libPrefix} - PERL=${perlPackages.perl}/bin/perl - PYTHON=${python}/bin/python - RUBY=${ruby}/bin/ruby - JAVARUN=${jre}/bin/java + PERL=${perlPackages.perl.outPath}/bin/perl + PYTHON=${python.outPath}/bin/python + RUBY=${ruby.outPath}/bin/ruby + JAVARUN=${jre.outPath}/bin/java PLUGINUSER=munin '';