about summary refs log tree commit diff
path: root/pkgs/by-name/du/duckstation/shaderc-patched.nix
blob: 3211925699e1481874c7cab1a750c2e6860f21bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  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"
      ];
    })
  ];
})