summary refs log tree commit diff
path: root/pkgs/os-specific/linux/systemd
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-12-14 00:02:27 +0000
committerGitHub <noreply@github.com>2021-12-14 00:02:27 +0000
commit75e029e2970db8210e72a7fd88e80bb94796f543 (patch)
tree33e22abc0f7705966f2fc041a3396e743d99c351 /pkgs/os-specific/linux/systemd
parent1a2b61419f4678713a51ed315eb83868bff83b90 (diff)
parent420df1e082610ccca3631b38bda1b3ab84718950 (diff)
downloadnixpkgs-75e029e2970db8210e72a7fd88e80bb94796f543.tar
nixpkgs-75e029e2970db8210e72a7fd88e80bb94796f543.tar.gz
nixpkgs-75e029e2970db8210e72a7fd88e80bb94796f543.tar.bz2
nixpkgs-75e029e2970db8210e72a7fd88e80bb94796f543.tar.lz
nixpkgs-75e029e2970db8210e72a7fd88e80bb94796f543.tar.xz
nixpkgs-75e029e2970db8210e72a7fd88e80bb94796f543.tar.zst
nixpkgs-75e029e2970db8210e72a7fd88e80bb94796f543.zip
Merge staging-next into staging
Diffstat (limited to 'pkgs/os-specific/linux/systemd')
-rw-r--r--pkgs/os-specific/linux/systemd/default.nix5
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 5a458cd04ec..e22b8f877bf 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
@@ -603,6 +604,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";