diff options
author | Robert Hensing <robert@roberthensing.nl> | 2024-02-28 17:15:21 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2024-03-06 22:47:23 +0100 |
commit | de55e7313fe2778b27a3f46da4911d5b6e55db28 (patch) | |
tree | 05a0f63d38f2490a115b1d3ac2cd8d300aff0b94 /pkgs/applications/networking/cluster/nixops/default.nix | |
parent | 76fc2db1f59c526bbfa4cbfb2c2ccddf71f20ca3 (diff) |
nixops_unstable_minimal.tests.withAPlugin: init
This way ofborg will do a better job if we only specify nixops_unstable as a prefix.
Diffstat (limited to 'pkgs/applications/networking/cluster/nixops/default.nix')
-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; }; }; })); |