chromium: temporarily work around stdenv/patchShebangs.sh bug
This commit is contained in:
parent
c62013004e
commit
df39696f6b
@ -294,6 +294,12 @@ let
|
||||
# We need the fix for https://bugs.chromium.org/p/chromium/issues/detail?id=1254408:
|
||||
base64 --decode ${clangFormatPython3} > buildtools/linux64/clang-format
|
||||
|
||||
# Add final newlines to scripts that do not end with one.
|
||||
# This is a temporary workaround until https://github.com/NixOS/nixpkgs/pull/255463 (or similar) has been merged,
|
||||
# as patchShebangs hard-crashes when it encounters files that contain only a shebang and do not end with a final
|
||||
# newline.
|
||||
find . -type f -perm -0100 -exec sed -i -e '$a\' {} +
|
||||
|
||||
patchShebangs .
|
||||
# Link to our own Node.js and Java (required during the build):
|
||||
mkdir -p third_party/node/linux/node-linux-x64/bin
|
||||
|
Loading…
Reference in New Issue
Block a user