3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #171028 from primeos/chromiumBeta

chromiumBeta: Fix the configuration phase
This commit is contained in:
Michael Weiss 2022-04-30 15:47:30 +02:00 committed by GitHub
commit af9b5c5baa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,7 +162,11 @@ let
./patches/widevine-79.patch
];
postPatch = ''
postPatch = optionalString (chromiumVersionAtLeast "102") ''
# Workaround/fix for https://bugs.chromium.org/p/chromium/issues/detail?id=1313361:
substituteInPlace BUILD.gn \
--replace '"//infra/orchestrator:orchestrator_all",' ""
'' + ''
# remove unused third-party
for lib in ${toString gnSystemLibraries}; do
if [ -d "third_party/$lib" ]; then