packagekit: add nixos test to passthru.tests
This commit is contained in:
parent
a1936ce687
commit
13f59f80b9
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user