From e77cba10828eb47dad1b22765a6734ac1c9ba59e Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 14 Aug 2024 12:21:53 +0200 Subject: [PATCH] foot: disable -Werror Fixes compilation with clang (-Wunused-command-line-argument) and probably makes compilation with different compiler versions more robust. --- pkgs/applications/terminal-emulators/foot/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/terminal-emulators/foot/default.nix b/pkgs/applications/terminal-emulators/foot/default.nix index 0293ca6739ab..04d1050600e2 100644 --- a/pkgs/applications/terminal-emulators/foot/default.nix +++ b/pkgs/applications/terminal-emulators/foot/default.nix @@ -156,6 +156,8 @@ stdenv.mkDerivation { "-Dcustom-terminfo-install-location=${terminfoDir}" # Install systemd user units for foot-server "-Dsystemd-units-dir=${placeholder "out"}/lib/systemd/user" + # Especially -Wunused-command-line-argument is a problem with clang + "-Dwerror=false" ]; # build and run binary generating PGO profiles,