2 files changed +0
-33
lines changed Original file line number Diff line number Diff line change 486
486
'' ;
487
487
} ;
488
488
489
- # note that you need version >= v3.16.14.8,
490
- # otherwise the gem will fail to link to the libv8 binary.
491
- # see: https://github.com/cowboyd/libv8/pull/161
492
- libv8 = attrs : {
493
- buildInputs = [ which nodejs . libv8 python2 ] ;
494
- buildFlags = [ "--with-system-v8=true" ] ;
495
- dontBuild = false ;
496
- # The gem includes broken symlinks which are ignored during unpacking, but
497
- # then fail during build. Since the content is missing anyway, touching the
498
- # files is enough to unblock the build.
499
- preBuild = ''
500
- touch vendor/depot_tools/cbuildbot vendor/depot_tools/chrome_set_ver vendor/depot_tools/cros_sdk
501
- '' ;
502
- postPatch = ''
503
- substituteInPlace ext/libv8/extconf.rb \
504
- --replace "location = Libv8::Location::Vendor.new" \
505
- "location = Libv8::Location::System.new"
506
- '' ;
507
- meta . broken = true ; # At 2023-01-20, errors as:
508
- # "Failed to build gem native extension."
509
- # Requires Python 2. Project is abandoned.
510
- } ;
511
-
512
489
execjs = attrs : {
513
490
propagatedBuildInputs = [ nodejs . libv8 ] ;
514
491
} ;
Original file line number Diff line number Diff line change 2166
2166
} ;
2167
2167
version = "3.17.0.3" ;
2168
2168
} ;
2169
- libv8 = {
2170
- groups = [ "default" ] ;
2171
- platforms = [ ] ;
2172
- source = {
2173
- remotes = [ "https://rubygems.org" ] ;
2174
- sha256 = "0kd4d5x9sxsbpbsk4xp66rxbmj2x3iglwirqws56wp7dzf7cd978" ;
2175
- type = "gem" ;
2176
- } ;
2177
- version = "8.4.255.0.1" ;
2178
- } ;
2179
2169
libxml-ruby = {
2180
2170
groups = [ "default" ] ;
2181
2171
platforms = [ ] ;
0 commit comments