catclock: fix build

This commit is contained in:
Benjamin Levy 2025-02-23 03:32:25 -05:00
parent 7fd9c4069c
commit 5b3aec88de
No known key found for this signature in database
GPG key ID: AAB1132642EF3045

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 =
[