Skip to content

Commit 9107a9f

Browse files
committed
cnijfilter2: Fix build error with GCC 15
1 parent 64de0ff commit 9107a9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/by-name/cn/cnijfilter2/package.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ stdenv.mkDerivation {
2222
sha256 = "3RoG83jLOsdTEmvUkkxb7wa8oBrJA4v1mGtxTGwSowU=";
2323
};
2424

25+
# Until upstream updates their code to work with GCC 15.
26+
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
27+
2528
nativeBuildInputs = [
2629
automake
2730
autoconf

0 commit comments

Comments
 (0)