foot: disable -Werror

Fixes compilation with clang (-Wunused-command-line-argument) and
probably makes compilation with different compiler versions more
robust.
This commit is contained in:
sternenseemann
2024-08-14 12:21:53 +02:00
parent e1e4197e1f
commit e77cba1082
@@ -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,