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

This was forgotten in the inital PR.

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