Skip to content

Commit 6b757a7

Browse files
author
Benjamin Sparks
committedMar 21, 2025
rubyPackages.libv8: drop
Project was marked as abandoned, and Python2 is EOL
1 parent 62f6cde commit 6b757a7

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed
 

‎pkgs/development/ruby-modules/gem-config/default.nix

-23
Original file line numberDiff line numberDiff line change
@@ -486,29 +486,6 @@ in
486486
'';
487487
};
488488

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-
512489
execjs = attrs: {
513490
propagatedBuildInputs = [ nodejs.libv8 ];
514491
};

‎pkgs/top-level/ruby-packages.nix

-10
Original file line numberDiff line numberDiff line change
@@ -2166,16 +2166,6 @@
21662166
};
21672167
version = "3.17.0.3";
21682168
};
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-
};
21792169
libxml-ruby = {
21802170
groups = ["default"];
21812171
platforms = [];

0 commit comments

Comments
 (0)
Failed to load comments.