parent
a444ed3870
commit
9eeea0b9ef
@ -749,6 +749,10 @@ let
|
||||
patches = [ ./patches/BayesXsrc.patch ];
|
||||
});
|
||||
|
||||
rhdf5 = old.rhdf5.overrideDerivation (attrs: {
|
||||
patches = [ ./patches/rhdf5.patch ];
|
||||
});
|
||||
|
||||
rJava = old.rJava.overrideDerivation (attrs: {
|
||||
preConfigure = ''
|
||||
export JAVA_CPPFLAGS=-I${pkgs.jdk}/include/
|
||||
|
12
pkgs/development/r-modules/patches/rhdf5.patch
Normal file
12
pkgs/development/r-modules/patches/rhdf5.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/configure b/configure
|
||||
index e3e21e8..3d947b6 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -2859,6 +2859,7 @@ fi;
|
||||
|
||||
echo "building the bundled hdf5 library...";
|
||||
cd ${BASEPBNAME};
|
||||
+sed -i 's#/bin/mv#mv#' configure
|
||||
./configure --with-pic --enable-shared=no CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" CC="${CC}" CFLAGS="${CFLAGS}" F77="${F77}"
|
||||
$MAKE lib
|
||||
cd ../../
|
Loading…
Reference in New Issue
Block a user