3
0
Fork 0
forked from mirrors/nixpkgs

gn: fix sandbox build

This commit is contained in:
Stefan Siegl 2017-09-24 19:23:20 +02:00
parent 6e8b89157f
commit 24ab22bea8
No known key found for this signature in database
GPG key ID: B224EC6857AD7F9B

View file

@ -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' \