rubyWithPackages.libv8: fix compilation (#80470)
rubyWithPackages.libv8: fix compilation
This commit is contained in:
commit
6152582ed1
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user