diff --git a/pkgs/by-name/gl/glslls/package.nix b/pkgs/by-name/gl/glslls/package.nix index e09a9bc35e6c..a8db204b1090 100644 --- a/pkgs/by-name/gl/glslls/package.nix +++ b/pkgs/by-name/gl/glslls/package.nix @@ -19,6 +19,11 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-wi1QiqaWRh1DmIhwmu94lL/4uuMv6DnB+whM61Jg1Zs="; }; + # Fix build with GCC 15 + postPatch = '' + sed -i "1i #include " externals/glslang/SPIRV/SpvBuilder.h + ''; + nativeBuildInputs = [ python3 cmake