Commit 7a92a8f5 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

glslls: fix build with GCC 15

parent 24696709
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -19,6 +19,11 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-wi1QiqaWRh1DmIhwmu94lL/4uuMv6DnB+whM61Jg1Zs=";
  };

  # Fix build with GCC 15
  postPatch = ''
    sed -i "1i #include <cstdint>" externals/glslang/SPIRV/SpvBuilder.h
  '';

  nativeBuildInputs = [
    python3
    cmake