bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
20 lines
445 B
Nix
20 lines
445 B
Nix
{
|
|
fetchpatch,
|
|
pcsx2,
|
|
shaderc,
|
|
}:
|
|
|
|
shaderc.overrideAttrs (old: {
|
|
pname = "shaderc-patched-for-pcsx2";
|
|
patches = (old.patches or [ ]) ++ [
|
|
(fetchpatch {
|
|
url = "file://${pcsx2.src}/.github/workflows/scripts/common/shaderc-changes.patch";
|
|
hash = "sha256-Ps/D+CdSbjVWg3ZGOEcgbpQbCNkI5Nuizm4E5qiM9Wo=";
|
|
excludes = [
|
|
"CHANGES"
|
|
"CMakeLists.txt"
|
|
"libshaderc/CMakeLists.txt"
|
|
];
|
|
})
|
|
];
|
|
})
|