mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01: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
2 changed files with 199 additions and 170 deletions
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 ];
|
topicmodels = [ pkgs.gsl_1 ];
|
||||||
udunits2 = [ pkgs.udunits pkgs.expat ];
|
udunits2 = [ pkgs.udunits pkgs.expat ];
|
||||||
units = [ pkgs.udunits ];
|
units = [ pkgs.udunits ];
|
||||||
V8 = [ pkgs.v8_3_14 ];
|
V8 = [ pkgs.v8 ];
|
||||||
WhopGenome = [ pkgs.zlib.dev ];
|
WhopGenome = [ pkgs.zlib.dev ];
|
||||||
XBRL = [ pkgs.zlib pkgs.libxml2.dev ];
|
XBRL = [ pkgs.zlib pkgs.libxml2.dev ];
|
||||||
xml2 = [ pkgs.libxml2.dev ] ++ lib.optionals stdenv.isDarwin [ pkgs.perl ];
|
xml2 = [ pkgs.libxml2.dev ] ++ lib.optionals stdenv.isDarwin [ pkgs.perl ];
|
||||||
|
@ -849,11 +849,16 @@ let
|
||||||
});
|
});
|
||||||
|
|
||||||
V8 = old.V8.overrideDerivation (attrs: {
|
V8 = old.V8.overrideDerivation (attrs: {
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace configure \
|
||||||
|
--replace " -lv8_libplatform" ""
|
||||||
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export INCLUDE_DIR=${pkgs.v8_3_14}/include
|
export INCLUDE_DIR=${pkgs.v8}/include
|
||||||
export LIB_DIR=${pkgs.v8_3_14}/lib
|
export LIB_DIR=${pkgs.v8}/lib
|
||||||
patchShebangs configure
|
patchShebangs configure
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
acs = old.acs.overrideDerivation (attrs: {
|
acs = old.acs.overrideDerivation (attrs: {
|
||||||
|
|
Loading…
Reference in a new issue