mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
18 lines
244 B
Nix
18 lines
244 B
Nix
R:
|
|
|
|
{ buildInputs ? [], ... } @ attrs:
|
|
|
|
R.stdenv.mkDerivation (
|
|
{
|
|
}
|
|
//
|
|
attrs
|
|
//
|
|
{
|
|
name = "r-" + attrs.name;
|
|
builder = ./builder.sh;
|
|
buildInputs = buildInputs ++ [ R ];
|
|
phases = [ "installPhase" "fixupPhase" ];
|
|
}
|
|
)
|