chromiumDev: Fix the patch phase

This commit is contained in:
Michael Weiss 2021-04-07 21:08:25 +02:00
parent 1f1a77bdb7
commit 80f4cce6fa
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83

View File

@ -170,7 +170,10 @@ let
) )
]; ];
postPatch = '' postPatch = lib.optionalString (chromiumVersionAtLeast "91") ''
# Required for patchShebangs (unsupported):
chmod -x third_party/webgpu-cts/src/tools/deno
'' + ''
# remove unused third-party # remove unused third-party
for lib in ${toString gnSystemLibraries}; do for lib in ${toString gnSystemLibraries}; do
if [ -d "third_party/$lib" ]; then if [ -d "third_party/$lib" ]; then