tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
R: ensure that run-time dependencies can be found
Peter Simons
12 years ago
0237aa13
f5f5f69e
+7
-1
1 changed file
expand all
collapse all
unified
split
pkgs
applications
science
math
R
default.nix
+7
-1
pkgs/applications/science/math/R/default.nix
···
36
36
--with-system-pcre
37
37
--with-system-xz
38
38
--with-ICU
39
39
-
R_SHELL="${stdenv.shell}"
39
39
+
AR=$(type -p ar)
40
40
+
AWK=$(type -p gawk)
41
41
+
CC=$(type -p gcc)
42
42
+
CXX=$(type -p g++)
43
43
+
FC="${gfortran}/bin/gfortran" F77="${gfortran}/bin/gfortran"
40
44
JAVA_HOME="${jdk}"
41
45
LDFLAGS="-L${gfortran.gcc}/lib"
46
46
+
RANLIB=$(type -p ranlib)
47
47
+
R_SHELL="${stdenv.shell}"
42
48
)
43
49
echo "TCLLIBPATH=${tk}/lib" >>etc/Renviron.in
44
50
'';