Skip to content

Commit efd9668

Browse files
authored
proxsuite: fix build with clang (#368311)
2 parents 300e97b + c5fbefe commit efd9668

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkgs/by-name/pr/proxsuite/package.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ stdenv.mkDerivation (finalAttrs: {
7373
# Fontconfig error: Cannot load default config file: No such file: (null)
7474
env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
7575

76+
env.NIX_CFLAGS_COMPILE = toString (
77+
lib.optionals stdenv.cc.isClang [
78+
"-Wno-error=missing-template-arg-list-after-template-kw"
79+
]
80+
);
81+
7682
# Fontconfig error: No writable cache directories
7783
preBuild = "export XDG_CACHE_HOME=$(mktemp -d)";
7884

0 commit comments

Comments
 (0)