Skip to content

Commit bd1b686

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

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
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
};

0 commit comments

Comments
 (0)
Failed to load comments.