mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
chromium: Correct tools path in blink_idl_parser.
This is because of our symlink mess, as Chromium's build support scripts are trying to resolve everything based on absolute paths and we split off the bundled sources from the main derivation. Yes, I'm refering to this as a mess, because in the end, we're going to patch up the gyp files and use references someday. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
d8ba5b3eff
commit
cce984b324
|
@ -222,6 +222,14 @@ in stdenv.mkDerivation rec {
|
|||
s|$|if parts[0].startswith("../") else parts[0]|;
|
||||
}' third_party/WebKit/Source/build/scripts/in_file.py \
|
||||
third_party/WebKit/Source/build/scripts/make_event_factory.py
|
||||
'' + optionalString (!versionOlder source.version "35.0.0.0") ''
|
||||
# Transform symlinks into plain files
|
||||
sed -i -e "" third_party/jinja2/__init__.py \
|
||||
third_party/jinja2/environment.py \
|
||||
third_party/WebKit/Source/bindings/scripts/idl_compiler.py
|
||||
|
||||
sed -i -e '/tools_dir *=/s|=.*|= "'"$(pwd)"'/tools"|' \
|
||||
third_party/WebKit/Source/bindings/scripts/blink_idl_parser.py
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
|
|
Loading…
Reference in a new issue