nixpkgs/pkgs/development/r-modules/generic/default.nix

18 lines
244 B
Nix
Raw Normal View History

R:
{ buildInputs ? [], ... } @ attrs:
R.stdenv.mkDerivation (
{
}
//
attrs
//
{
name = "r-" + attrs.name;
builder = ./builder.sh;
buildInputs = buildInputs ++ [ R ];
phases = [ "installPhase" "fixupPhase" ];
}
)