oddjob: add nixosTests to passthru.tests

This commit is contained in:
Anthony Roussel 2024-04-07 00:30:09 +02:00
parent 9a03f2ca13
commit e3cd9db792
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E
1 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,7 @@
, autoreconfHook
, dbus
, libxml2
, nixosTests
, pam
, pkg-config
, systemd
@ -49,6 +50,13 @@ stdenv.mkDerivation rec {
--replace "globals.selinux_enabled" "FALSE"
'';
# Requires a dbus-daemon environment
doCheck = false;
passthru.tests = {
inherit (nixosTests) oddjobd;
};
meta = with lib; {
description = "Odd Job Daemon";
homepage = "https://pagure.io/oddjob";