nixosTests.power-profiles-daemon: add to all-tests.nix

This was forgotten in the inital PR.
main
Jan Tojnar 3 years ago
parent 046ec82346
commit 6e64f03c12
  1. 1
      nixos/tests/all-tests.nix
  2. 7
      pkgs/os-specific/linux/power-profiles-daemon/default.nix

@ -371,6 +371,7 @@ in
postgresql = handleTest ./postgresql.nix {};
postgresql-wal-receiver = handleTest ./postgresql-wal-receiver.nix {};
powerdns = handleTest ./powerdns.nix {};
power-profiles-daemon = handleTest ./power-profiles-daemon.nix {};
pppd = handleTest ./pppd.nix {};
predictable-interface-names = handleTest ./predictable-interface-names.nix {};
printing = handleTest ./printing.nix {};

@ -18,6 +18,7 @@
, systemd
, python3
, wrapGAppsNoGuiHook
, nixosTests
}:
stdenv.mkDerivation rec {
@ -97,6 +98,12 @@ stdenv.mkDerivation rec {
wrapPythonProgramsIn "$out/bin" "$pythonPath"
'';
passthru = {
tests = {
nixos = nixosTests.power-profiles-daemon;
};
};
meta = with lib; {
homepage = "https://gitlab.freedesktop.org/hadess/power-profiles-daemon";
description = "Makes user-selected power profiles handling available over D-Bus";

Loading…
Cancel
Save