Commit 13f59f80 authored by Robert Scott's avatar Robert Scott
Browse files

packagekit: add nixos test to passthru.tests

parent a1936ce6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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 = ''