Skip to content

Commit

Permalink
rubyWithPackages.libv8: fix compilation (NixOS#80470)
Browse files Browse the repository at this point in the history
rubyWithPackages.libv8: fix compilation
  • Loading branch information
disassembler committed Feb 19, 2020
2 parents 1b3176b + 84fa1d2 commit 6152582
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/ruby-modules/gem-config/default.nix
Expand Up @@ -294,6 +294,12 @@ in
libv8 = attrs: {
buildInputs = [ which v8 python ];
buildFlags = [ "--with-system-v8=true" ];
dontBuild = false;
postPatch = ''
substituteInPlace ext/libv8/extconf.rb \
--replace "location = Libv8::Location::Vendor.new" \
"location = Libv8::Location::System.new"
'';
};

execjs = attrs: {
Expand Down

0 comments on commit 6152582

Please sign in to comment.