mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 04:04:06 +01:00
glslls: fix build with GCC 15
Tracking: https://github.com/NixOS/nixpkgs/issues/475479
This commit is contained in:
parent
24696709f8
commit
7a92a8f5d6
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue