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