chromiumDev: Fix the patch phase
commit80f4cce6fa2a21f04260eebbafd630a70d471a2c
authorMichael Weiss <dev.primeos@gmail.com>
dateWed 7 Apr 2021, 21:08 (6 years ago)
parent1f1a77b
pkgs/applications/networking/browsers/chromium/common.nix+4−1
@@ -170,7 +170,10 @@ let
170170 )
171171 ];
172172
173− postPatch = ''
173+ postPatch = lib.optionalString (chromiumVersionAtLeast "91") ''
174+ # Required for patchShebangs (unsupported):
175+ chmod -x third_party/webgpu-cts/src/tools/deno
176+ '' + ''
174177 # remove unused third-party
175178 for lib in ${toString gnSystemLibraries}; do
176179 if [ -d "third_party/$lib" ]; then