nixops: Fix build by disabling the libvirt backend if package marked as insecure

With this change it's possible to override the libvirt package used if you absolutely need it.
This commit is contained in:
adisbladis
2021-02-08 16:00:53 +01:00
parent 94f2ba2ef3
commit 418af7d7aa
3 changed files with 31 additions and 2 deletions

View File

@@ -18,6 +18,10 @@ buildPythonPackage rec {
nosetests
'';
passthru = {
inherit libvirt;
};
meta = with lib; {
homepage = "http://www.libvirt.org/";
description = "libvirt Python bindings";