Skip to content

Commit 1bc1a6c

Browse files
authored
Merge pull request #145 from replit/th-r-libs-user
Added R_LIBS_USER to env
2 parents d926e98 + a69e58b commit 1bc1a6c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

modules.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,10 @@
347347
"commit": "0b7a60667d2c29f2686211e952924a9693916a20",
348348
"path": "/nix/store/dplxkcnp1sdw2hf8y07xs1h3izxfshry-replit-module-r-4.2"
349349
},
350+
"r-4.2:v3-20231023-1e1bb66": {
351+
"commit": "1e1bb663068482cdb7c04bf585daed00205c0140",
352+
"path": "/nix/store/r9bwlmfgilkinlzn87331kj02mdg3z1q-replit-module-r-4.2"
353+
},
350354
"ruby-3.1:v1-20230525-c48c43c": {
351355
"commit": "c48c43c6c698223ed3ce2abc5a2d708735a77d5b",
352356
"path": "/nix/store/xac2nbz5f2vczvvq1nphfassipk2wwv2-replit-module-ruby-3.1"

pkgs/modules/R/default.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ in
2222
enabledForHosting = false;
2323
};
2424
};
25+
26+
replit.env = {
27+
R_LIBS_USER = "$REPL_HOME/.config/R";
28+
};
2529
}

0 commit comments

Comments
 (0)