Skip to content

Commit

Permalink
proxsuite: fix build with clang (NixOS#368311)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Dec 26, 2024
2 parents 300e97b + c5fbefe commit efd9668
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/by-name/pr/proxsuite/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ stdenv.mkDerivation (finalAttrs: {
# Fontconfig error: Cannot load default config file: No such file: (null)
env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";

env.NIX_CFLAGS_COMPILE = toString (
lib.optionals stdenv.cc.isClang [
"-Wno-error=missing-template-arg-list-after-template-kw"
]
);

# Fontconfig error: No writable cache directories
preBuild = "export XDG_CACHE_HOME=$(mktemp -d)";

Expand Down

0 comments on commit efd9668

Please sign in to comment.