diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix index a6fcb8102a4e..38684bd94904 100644 --- a/pkgs/development/ruby-modules/gem-config/default.nix +++ b/pkgs/development/ruby-modules/gem-config/default.nix @@ -486,29 +486,6 @@ in ''; }; - # note that you need version >= v3.16.14.8, - # otherwise the gem will fail to link to the libv8 binary. - # see: https://github.com/cowboyd/libv8/pull/161 - libv8 = attrs: { - buildInputs = [ which nodejs.libv8 python2 ]; - buildFlags = [ "--with-system-v8=true" ]; - dontBuild = false; - # The gem includes broken symlinks which are ignored during unpacking, but - # then fail during build. Since the content is missing anyway, touching the - # files is enough to unblock the build. - preBuild = '' - touch vendor/depot_tools/cbuildbot vendor/depot_tools/chrome_set_ver vendor/depot_tools/cros_sdk - ''; - postPatch = '' - substituteInPlace ext/libv8/extconf.rb \ - --replace "location = Libv8::Location::Vendor.new" \ - "location = Libv8::Location::System.new" - ''; - meta.broken = true; # At 2023-01-20, errors as: - # "Failed to build gem native extension." - # Requires Python 2. Project is abandoned. - }; - execjs = attrs: { propagatedBuildInputs = [ nodejs.libv8 ]; }; diff --git a/pkgs/top-level/ruby-packages.nix b/pkgs/top-level/ruby-packages.nix index b321a80017f4..e0c23f09f7f0 100644 --- a/pkgs/top-level/ruby-packages.nix +++ b/pkgs/top-level/ruby-packages.nix @@ -2166,16 +2166,6 @@ }; version = "3.17.0.3"; }; - libv8 = { - groups = ["default"]; - platforms = []; - source = { - remotes = ["https://rubygems.org"]; - sha256 = "0kd4d5x9sxsbpbsk4xp66rxbmj2x3iglwirqws56wp7dzf7cd978"; - type = "gem"; - }; - version = "8.4.255.0.1"; - }; libxml-ruby = { groups = ["default"]; platforms = [];