packagekit: add nixos test to passthru.tests

This commit is contained in:
Robert Scott 2024-01-06 23:32:36 +00:00
parent a1936ce687
commit 13f59f80b9

View File

@ -24,6 +24,7 @@
, bash-completion ? null
, enableSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
, systemd
, nixosTests
}:
stdenv.mkDerivation rec {
@ -92,6 +93,10 @@ stdenv.mkDerivation rec {
--replace "install_dir: join_paths(get_option('localstatedir'), 'lib', 'PackageKit')," "install_dir: join_paths('$out', 'var', 'lib', 'PackageKit'),"
'';
passthru.tests = {
nixos-test = nixosTests.packagekit;
};
meta = with lib; {
description = "System to facilitate installing and updating packages";
longDescription = ''