mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
r-packages: update
This update was primarily done to update rPackages.V8 to 3.0 which doesn't depend on an ancient version of v8 anymore. Also dropped the `-lv8_libplatform` linker flag. It seems as this now part of `v8.so` as `v8_libplatform.so` doesn't exist anymore on recent v8 versions in nixpkgs, but the headers are still there and there aren't any "undefined reference to" errors while linking.
This commit is contained in:
parent
e1d35045bc
commit
3c525b702a
356
pkgs/development/r-modules/cran-packages.nix
generated
356
pkgs/development/r-modules/cran-packages.nix
generated
File diff suppressed because it is too large
Load Diff
@ -363,7 +363,7 @@ let
|
||||
topicmodels = [ pkgs.gsl_1 ];
|
||||
udunits2 = [ pkgs.udunits pkgs.expat ];
|
||||
units = [ pkgs.udunits ];
|
||||
V8 = [ pkgs.v8_3_14 ];
|
||||
V8 = [ pkgs.v8 ];
|
||||
WhopGenome = [ pkgs.zlib.dev ];
|
||||
XBRL = [ pkgs.zlib pkgs.libxml2.dev ];
|
||||
xml2 = [ pkgs.libxml2.dev ] ++ lib.optionals stdenv.isDarwin [ pkgs.perl ];
|
||||
@ -849,11 +849,16 @@ let
|
||||
});
|
||||
|
||||
V8 = old.V8.overrideDerivation (attrs: {
|
||||
postPatch = ''
|
||||
substituteInPlace configure \
|
||||
--replace " -lv8_libplatform" ""
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
export INCLUDE_DIR=${pkgs.v8_3_14}/include
|
||||
export LIB_DIR=${pkgs.v8_3_14}/lib
|
||||
export INCLUDE_DIR=${pkgs.v8}/include
|
||||
export LIB_DIR=${pkgs.v8}/lib
|
||||
patchShebangs configure
|
||||
'';
|
||||
'';
|
||||
});
|
||||
|
||||
acs = old.acs.overrideDerivation (attrs: {
|
||||
|
Loading…
Reference in New Issue
Block a user