systemd: Add switchTest to passthru

This commit is contained in:
Janne Heß 2021-12-09 12:39:30 +01:00
parent 2024306048
commit dac4f986ad
No known key found for this signature in database
GPG key ID: 69165158F05265DF

View file

@ -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";