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

This was forgotten in the inital PR.

+8
+1
nixos/tests/all-tests.nix
··· 371 371 postgresql = handleTest ./postgresql.nix {}; 372 372 postgresql-wal-receiver = handleTest ./postgresql-wal-receiver.nix {}; 373 373 powerdns = handleTest ./powerdns.nix {}; 374 + power-profiles-daemon = handleTest ./power-profiles-daemon.nix {}; 374 375 pppd = handleTest ./pppd.nix {}; 375 376 predictable-interface-names = handleTest ./predictable-interface-names.nix {}; 376 377 printing = handleTest ./printing.nix {};
+7
pkgs/os-specific/linux/power-profiles-daemon/default.nix
··· 18 18 , systemd 19 19 , python3 20 20 , wrapGAppsNoGuiHook 21 + , nixosTests 21 22 }: 22 23 23 24 stdenv.mkDerivation rec { ··· 96 97 # Make Python libraries available 97 98 wrapPythonProgramsIn "$out/bin" "$pythonPath" 98 99 ''; 100 + 101 + passthru = { 102 + tests = { 103 + nixos = nixosTests.power-profiles-daemon; 104 + }; 105 + }; 99 106 100 107 meta = with lib; { 101 108 homepage = "https://gitlab.freedesktop.org/hadess/power-profiles-daemon";