fix rscript version by using pname pkg
This commit is contained in:
parent
ab536f35ff
commit
7d9009b714
|
@ -1,9 +1,9 @@
|
||||||
{pkgs, piston, ...}:
|
{pkgs, piston, ...}:
|
||||||
let
|
let
|
||||||
pkg = pkgs.rWrapper;
|
pkg = pkgs.R;
|
||||||
in piston.mkRuntime {
|
in piston.mkRuntime {
|
||||||
language = "rscript";
|
language = "rscript";
|
||||||
version = "4.1.2-wrapper";
|
version = pkg.version;
|
||||||
|
|
||||||
aliases = [
|
aliases = [
|
||||||
"r"
|
"r"
|
||||||
|
|
Loading…
Reference in New Issue