diff options
author | Michael Fellinger <michael.fellinger@iohk.io> | 2020-02-18 22:29:38 +0100 |
---|---|---|
committer | Michael Fellinger <michael.fellinger@iohk.io> | 2020-02-18 22:29:38 +0100 |
commit | 84fa1d2fb363a04c729da9058e3ee92d3cff9198 (patch) | |
tree | 73afc27ee6ae6d3cb96b8b77a0566fbc8e424c98 /pkgs/development | |
parent | 1b96f9b68c728985bb94bb19c095330538827138 (diff) |
rubyWithPackages.libv8: fix compilation
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/ruby-modules/gem-config/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/ruby-modules/gem-config/default.nix b/pkgs/development/ruby-modules/gem-config/default.nix index 088bcedf6de3..f26e33ca2427 100644 --- a/pkgs/development/ruby-modules/gem-config/default.nix +++ b/pkgs/development/ruby-modules/gem-config/default.nix @@ -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: { |