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