diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2021-12-13 11:37:20 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 11:37:20 -0800 |
commit | f40283cf62305822fcae4d9c89b97ca7f036aee3 (patch) | |
tree | 35100ddb477ff731488b983d617a3f030381cd52 /pkgs/os-specific | |
parent | eec14f1d78a93a88ad8a2aa86e1d2f804b593125 (diff) | |
parent | 68076287918ca9ee1c20e6289e77b2ce229cd493 (diff) |
Merge pull request #149837 from helsinki-systems/feat/redo-activation-script-restarting
nixos/switch-to-configuration: Add a massive test and do a slight refactor
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/systemd/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index aa106ca1abaad..13a39f182c0e6 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -2,6 +2,7 @@ { stdenv , lib +, nixosTests , fetchFromGitHub , fetchpatch , fetchzip @@ -613,6 +614,10 @@ stdenv.mkDerivation { # runtime; otherwise we can't and we need to reboot. passthru.interfaceVersion = 2; + passthru.tests = { + inherit (nixosTests) switchTest; + }; + meta = with lib; { homepage = "https://www.freedesktop.org/wiki/Software/systemd/"; description = "A system and service manager for Linux"; |