forked from mirrors/nixpkgs
Merge pull request #158353 from symphorien/collectd-xen-insecure-master
collectd: don't build with xen plugin by default
This commit is contained in:
commit
7a6506fc79
|
@ -41,8 +41,8 @@
|
|||
, xen
|
||||
, yajl
|
||||
, IOKit
|
||||
# Defaults to `null` for all supported plugins,
|
||||
# list of plugin names for a custom build
|
||||
# Defaults to `null` for all supported plugins (except xen, which is marked as
|
||||
# insecure), otherwise a list of plugin names for a custom build
|
||||
, enabledPlugins ? null
|
||||
, ...
|
||||
}:
|
||||
|
@ -136,7 +136,7 @@ let
|
|||
buildInputs =
|
||||
if enabledPlugins == null
|
||||
then builtins.concatMap pluginBuildInputs
|
||||
(builtins.attrNames plugins)
|
||||
(builtins.attrNames (builtins.removeAttrs plugins ["xencpu"]))
|
||||
else builtins.concatMap pluginBuildInputs enabledPlugins;
|
||||
in {
|
||||
inherit configureFlags buildInputs;
|
||||
|
|
Loading…
Reference in a new issue