easytag: fix linux / GCC 15 build (#478006)

This commit is contained in:
Aleksana
2026-01-08 09:59:54 +00:00
committed by GitHub
+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