git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commitd88f4efd0b1172450cfd211ae659cc4f09ce6689 authorMarwan Aljubeh <marwan.aljubeh@gmail.com> dateMon 24 Jun 2019, 23:42 (7 years ago) parentb44fca1
1 file changed+4−4
pkgs/servers/monitoring/munin/default.nix+4−4
pkgs/servers/monitoring/munin/default.nix+4−4
@@ -96,10 +96,10 @@ stdenv.mkDerivation rec {
9696 PREFIX=$(out)
9797 DESTDIR=$(out)
9898 PERLLIB=$(out)/${perlPackages.perl.libPrefix}
99− PERL=${perlPackages.perl}/bin/perl
100− PYTHON=${python}/bin/python
101− RUBY=${ruby}/bin/ruby
102− JAVARUN=${jre}/bin/java
99+ PERL=${perlPackages.perl.outPath}/bin/perl
100+ PYTHON=${python.outPath}/bin/python
101+ RUBY=${ruby.outPath}/bin/ruby
102+ JAVARUN=${jre.outPath}/bin/java
103103 PLUGINUSER=munin
104104 '';
105105