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