timidity: fix build with gcc15 (#470974)

This commit is contained in:
Fabián Heredia Montiel
2025-12-17 15:15:22 +00:00
committed by GitHub
+3
View File
@@ -99,6 +99,9 @@ stdenv.mkDerivation rec {
sed -i 's/^\(calcnewt\$(EXEEXT):\).*/\1/g' timidity/Makefile
'';
# Fix build with gcc15
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
# the instruments could be compressed (?)
postInstall = ''
mkdir -p $out/share/timidity/;