Merge pull request #291258 from Kupac/fix_pathfindR
rPackages.pathfindR: fix missing java
This commit is contained in:
commit
72f01b23cf
@ -1048,6 +1048,15 @@ let
|
||||
'';
|
||||
});
|
||||
|
||||
pathfindR = old.pathfindR.overrideAttrs (attrs: {
|
||||
postPatch = ''
|
||||
substituteInPlace "R/zzz.R" \
|
||||
--replace-fail " check_java_version()" " Sys.setenv(JAVA_HOME = \"${lib.getBin pkgs.jre_minimal}\"); check_java_version()"
|
||||
substituteInPlace "R/active_snw_search.R" \
|
||||
--replace-fail "system(paste0(\"java" "system(paste0(\"${lib.getBin pkgs.jre_minimal}/bin/java"
|
||||
'';
|
||||
});
|
||||
|
||||
pbdZMQ = old.pbdZMQ.overrideAttrs (attrs: {
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
for file in R/*.{r,r.in}; do
|
||||
|
Loading…
Reference in New Issue
Block a user