forked from mirrors/nixpkgs
gn: fix sandbox build
This commit is contained in:
parent
6e8b89157f
commit
24ab22bea8
|
@ -44,6 +44,10 @@ in
|
|||
'';
|
||||
|
||||
postPatch = ''
|
||||
# Patch shebands (for sandbox build)
|
||||
chmod u+w -R build
|
||||
patchShebangs build
|
||||
|
||||
# Patch out Chromium-bundled libevent
|
||||
chmod u+w tools/gn/bootstrap tools/gn/bootstrap/bootstrap.py
|
||||
sed -i -e '/static_libraries.*libevent/,/^ *\]\?[})]$/d' \
|
||||
|
|
Loading…
Reference in a new issue