Unverified Commit c692772f authored by Gergő Gutyina's avatar Gergő Gutyina Committed by GitHub
Browse files

blightmud: fix build with gcc15 (#478058)

parents 27f6243d ed03dae4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -35,6 +35,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
  ++ lib.optionals (withTTS && stdenv.hostPlatform.isLinux) [ speechd-minimal ]
  ++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib ];

  env = lib.optionalAttrs (!stdenv.cc.isClang) {
    NIX_CFLAGS_COMPILE = "-std=gnu17";
  };

  checkFlags =
    let
      # Most of Blightmud's unit tests pass without trouble in the isolated