diff options
-rw-r--r-- | pkgs/applications/networking/cluster/nixops/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cluster/nixops/default.nix b/pkgs/applications/networking/cluster/nixops/default.nix index 7b3383e6e3eae..e6a8a69cc4c7b 100644 --- a/pkgs/applications/networking/cluster/nixops/default.nix +++ b/pkgs/applications/networking/cluster/nixops/default.nix @@ -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; }; }; })); |