electron: exclude patch of removed tests (#302544)

Closes https://github.com/NixOS/nixpkgs/issues/302457
This commit is contained in:
Mitchell Skaggs 2024-04-09 17:53:35 -05:00 committed by GitHub
parent 47b9e6e557
commit 76b199e34b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,7 +127,7 @@ in (chromium.override { upstream-info = info.chromium; }).mkDerivation (base: {
for patch in $(cat $patch_dir/.patches)
do
echo applying in $repo: $patch
git apply -p1 --directory=$repo --exclude='src/third_party/blink/web_tests/*' $patch_dir/$patch
git apply -p1 --directory=$repo --exclude='src/third_party/blink/web_tests/*' --exclude='src/content/test/data/*' $patch_dir/$patch
done
done
)