easytag: fix linux / GCC 15 build

This commit is contained in:
Matteo Pacini
2026-01-08 09:52:09 +00:00
parent 5737eed475
commit 7a0e05025a
+6 -1
View File
@@ -40,7 +40,12 @@ stdenv.mkDerivation rec {
})
];
NIX_LDFLAGS = "-lid3tag -lz";
env = {
NIX_LDFLAGS = "-lid3tag -lz";
# Note: this allows id3lib to be found at configure time, and also prevents
# compilation errors on Linux (GCC 15). Clang / Darwin seems to be unaffected.
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-std=c17 -Wno-implicit-function-declaration";
};
nativeBuildInputs = [
pkg-config