catclock: fix build (#384460)

This commit is contained in:
Aleksana
2025-02-24 15:59:28 +08:00
committed by GitHub
+4 -1
View File
@@ -26,7 +26,10 @@ stdenv.mkDerivation {
cp xclock.man $out/share/man/man1/xclock.1
'';
makeFlags = [ "DESTINATION=$(out)/bin/" ] ++ lib.optional withAudioTracking "WITH_TEMPO_TRACKER=1";
makeFlags = [
"DESTINATION=$(out)/bin/"
"CFLAGS=-Wno-incompatible-pointer-types"
] ++ lib.optional withAudioTracking "WITH_TEMPO_TRACKER=1";
buildInputs =
[