nixpkgs/pkgs/development/r-modules/generic/default.nix
2014-05-04 22:24:57 +02:00

9 lines
169 B
Nix

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