New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V8 6.2.414.15 #29726
V8 6.2.414.15 #29726
Conversation
|
||
installPhase = '' | ||
install -vD out.gn/x64.release/d8 "$out/bin/d8" | ||
install -vD out.gn/x64.release/mksnapshot "$out/bin/mksnapshot" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not be ${arch}.release
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed it should, fixed
It fails to build php-v8 in my case:
|
@Mic92 are you sure it's related to my change? I cannot reproduce that and it errors out building php-7.0.22 and php-7.1.8, which just are a dependency to php-v8. |
Probably not, but it happens on master, when I use nix-review on this commit. Looks pretty similar to breakage: 032c50d |
Yes, it was broken by commit b0280f5 ... which splited pg-config into a separate, new build output "dev" Update: created a separate PR for that fix |
... and use recent V8 version.
Looks like @abbradar tried to delete this a while back: 003fa8f#diff-44657b1b205614922a0666e1fb8ca9b4 |
Motivation for this change
Current version of V8 shipped with NixOS 5.4 is pretty old, actually it was published a year ago.
Since then updating was problematic, since upstream changed from Gyp to GN build system
This pull request packages GN (again, it was included once and then removed) and introduces a new package
v8_6_x
which packages current V8 version from Chromium/V8 beta release channel -- currently version 6.2.414.15I also added a little
update.sh
shell script that updates the package recipe to latest V8 dependencies so future updates should be way easierCaveats
The reason for me adding a new package and not simply upgrading "v8" was that due to re-packaging currently two features are lost, that the old package had
static
flag, to trigger static compilation & linkingThings done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)