From 61e3ed3870df33d379f3edfeb61ba75166b021b9 Mon Sep 17 00:00:00 2001 From: linuxissuper Date: Sat, 14 Oct 2023 17:07:12 +0200 Subject: [PATCH 1/2] psensor: apply formatting --- pkgs/tools/system/psensor/default.nix | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/system/psensor/default.nix b/pkgs/tools/system/psensor/default.nix index 33749f30be0cb..ba5cc4b3a622e 100644 --- a/pkgs/tools/system/psensor/default.nix +++ b/pkgs/tools/system/psensor/default.nix @@ -1,5 +1,15 @@ -{ stdenv, lib, fetchurl, pkg-config, lm_sensors, libgtop, libatasmart, gtk3 -, libnotify, udisks2, libXNVCtrl, wrapGAppsHook +{ stdenv +, lib +, fetchurl +, pkg-config +, lm_sensors +, libgtop +, libatasmart +, gtk3 +, libnotify +, udisks2 +, libXNVCtrl +, wrapGAppsHook }: stdenv.mkDerivation rec { @@ -15,7 +25,12 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkg-config wrapGAppsHook ]; buildInputs = [ - lm_sensors libgtop libatasmart gtk3 libnotify udisks2 + lm_sensors + libgtop + libatasmart + gtk3 + libnotify + udisks2 ]; preConfigure = '' From 0582e39181ad04b427a784aadd8ea960acc50263 Mon Sep 17 00:00:00 2001 From: linuxissuper Date: Sun, 15 Oct 2023 00:08:17 +0200 Subject: [PATCH 2/2] psensor: add libappindicator to buildInputs --- pkgs/tools/system/psensor/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/system/psensor/default.nix b/pkgs/tools/system/psensor/default.nix index ba5cc4b3a622e..b6c6e947b0c46 100644 --- a/pkgs/tools/system/psensor/default.nix +++ b/pkgs/tools/system/psensor/default.nix @@ -10,6 +10,7 @@ , udisks2 , libXNVCtrl , wrapGAppsHook +, libappindicator }: stdenv.mkDerivation rec { @@ -31,6 +32,7 @@ stdenv.mkDerivation rec { gtk3 libnotify udisks2 + libappindicator ]; preConfigure = ''