summary refs log tree commit diff
path: root/pkgs/development/ruby-modules
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-01-23 09:22:03 +0800
committerGitHub <noreply@github.com>2023-01-23 09:22:03 +0800
commit332740a9a77aa61a226d46cee5dc341f1cd634af (patch)
tree322019ebb8fa80caac5bc900e307a7f1f80f9e5f /pkgs/development/ruby-modules
parentffa956cb00b4dc69404a708a75d951446c71ab6d (diff)
parent82d7d64d3aad85c6452724f8c92a74078dab48b8 (diff)
downloadnixpkgs-332740a9a77aa61a226d46cee5dc341f1cd634af.tar
nixpkgs-332740a9a77aa61a226d46cee5dc341f1cd634af.tar.gz
nixpkgs-332740a9a77aa61a226d46cee5dc341f1cd634af.tar.bz2
nixpkgs-332740a9a77aa61a226d46cee5dc341f1cd634af.tar.lz
nixpkgs-332740a9a77aa61a226d46cee5dc341f1cd634af.tar.xz
nixpkgs-332740a9a77aa61a226d46cee5dc341f1cd634af.tar.zst
nixpkgs-332740a9a77aa61a226d46cee5dc341f1cd634af.zip
Merge pull request #211762 from superherointj/mark-broken-rubyPackages.libv8
rubyPackages.libv8: mark broken
Diffstat (limited to 'pkgs/development/ruby-modules')
-rw-r--r--pkgs/development/ruby-modules/gem-config/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix
index ccc4430ca83..1a95520b927 100644
--- a/pkgs/development/ruby-modules/gem-config/default.nix
+++ b/pkgs/development/ruby-modules/gem-config/default.nix
@@ -370,7 +370,7 @@ in
   # otherwise the gem will fail to link to the libv8 binary.
   # see: https://github.com/cowboyd/libv8/pull/161
   libv8 = attrs: {
-    buildInputs = [ which v8 python3 ];
+    buildInputs = [ which v8 python2 ];
     buildFlags = [ "--with-system-v8=true" ];
     dontBuild = false;
     # The gem includes broken symlinks which are ignored during unpacking, but
@@ -384,6 +384,9 @@ in
         --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: {