diff --git a/pkgs/development/tools/electron/40-angle-patchdir.patch b/pkgs/development/tools/electron/40-angle-patchdir.patch new file mode 100644 index 000000000000..595d93b35891 --- /dev/null +++ b/pkgs/development/tools/electron/40-angle-patchdir.patch @@ -0,0 +1,11 @@ +diff --git a/electron/patches/config.json b/electron/patches/config.json +index f5dbe8600f..9e1e5e0704 100644 +--- a/electron/patches/config.json ++++ b/electron/patches/config.json +@@ -15,5 +15,5 @@ + { "patch_dir": "src/electron/patches/reclient-configs", "repo": "src/third_party/engflow-reclient-configs" }, + { "patch_dir": "src/electron/patches/sqlite", "repo": "src/third_party/sqlite/src" }, + { "patch_dir": "src/electron/patches/skia", "repo": "src/third_party/skia" }, +- { "patch_dir": "src/electron/patches/angle", "repo": "src/third_party/angle/src" } ++ { "patch_dir": "src/electron/patches/angle", "repo": "src/third_party/angle" } + ] diff --git a/pkgs/development/tools/electron/common.nix b/pkgs/development/tools/electron/common.nix index 6a67cde6d74c..ec3f4fe34b46 100644 --- a/pkgs/development/tools/electron/common.nix +++ b/pkgs/development/tools/electron/common.nix @@ -131,6 +131,9 @@ in ] ++ lib.optionals (lib.versions.major info.version == "39") [ ./39-angle-patchdir.patch + ] + ++ lib.optionals (lib.versions.major info.version == "40") [ + ./40-angle-patchdir.patch ]; postPatch = ''