From 745423848b444fc6dfba67a5189285ef7dbc702e Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Mon, 9 May 2022 04:47:33 -0700 Subject: [PATCH] psensor: add -Wno-error due to increasing compiler strictness This Hydra failure: https://hydra.nixos.org/log/iq8zqmw7yclgwpvr8i8clwf2sh67jb0i-psensor-1.2.1.drv ...appears to be the result of the package shipping with -Werror and gcc accreting ever-increasing quantities of warnings as time progresses. Let's not treat the compiler warnings as errors. --- pkgs/tools/system/psensor/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/system/psensor/default.nix b/pkgs/tools/system/psensor/default.nix index 079055bd3ba..6e3ccc45a03 100644 --- a/pkgs/tools/system/psensor/default.nix +++ b/pkgs/tools/system/psensor/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { ]; preConfigure = '' - NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libXNVCtrl}/include" + NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libXNVCtrl}/include -Wno-error" NIX_LDFLAGS="$NIX_LDFLAGS -L${libXNVCtrl}/lib" '';