fix rscript version by using pname pkg

This commit is contained in:
Dan Vargas 2022-02-06 22:08:05 -07:00
parent ab536f35ff
commit 7d9009b714
1 changed files with 3 additions and 3 deletions

View File

@ -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";
})
];
}
}