nixops_unstable_minimal.tests.withAPlugin: init

This way ofborg will do a better job if we only specify
nixops_unstable as a prefix.
This commit is contained in:
Robert Hensing
2024-03-06 22:47:23 +01:00
parent 76fc2db1f5
commit de55e7313f
@@ -1,4 +1,4 @@
{ python3 }:
{ lib, python3 }:
let
python = python3.override {
@@ -47,6 +47,12 @@ let
nixos = old.passthru.tests.nixos.passthru.override {
nixopsPkg = r;
};
}
# Make sure we also test with a configuration that's been extended with a plugin.
// lib.optionalAttrs (selectedPlugins == []) {
withAPlugin =
lib.recurseIntoAttrs
(withPlugins (ps: with ps; [ nixops-encrypted-links ])).tests;
};
};
}));