Wrapped R's package system similarly to perlPackages
This commit is contained in:
committed by
Peter Simons
parent
b0bf894b43
commit
fdc6e4372f
17
pkgs/development/r-modules/generic/default.nix
Normal file
17
pkgs/development/r-modules/generic/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
R:
|
||||
|
||||
{ buildInputs ? [], ... } @ attrs:
|
||||
|
||||
R.stdenv.mkDerivation (
|
||||
{
|
||||
}
|
||||
//
|
||||
attrs
|
||||
//
|
||||
{
|
||||
name = "r-" + attrs.name;
|
||||
builder = ./builder.sh;
|
||||
buildInputs = buildInputs ++ [ R ];
|
||||
phases = [ "installPhase" "fixupPhase" ];
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user