r-generic-builder: clean up the expression
This commit is contained in:
parent
ef05fad51a
commit
4e1e248cf1
@ -1,17 +1,9 @@
|
|||||||
R:
|
R:
|
||||||
|
|
||||||
{ buildInputs ? [], ... } @ attrs:
|
{ name, buildInputs ? [], ... } @ attrs:
|
||||||
|
|
||||||
R.stdenv.mkDerivation (
|
R.stdenv.mkDerivation (attrs // {
|
||||||
{
|
name = "r-" + name;
|
||||||
}
|
builder = ./builder.sh;
|
||||||
//
|
buildInputs = buildInputs ++ [ R ];
|
||||||
attrs
|
})
|
||||||
//
|
|
||||||
{
|
|
||||||
name = "r-" + attrs.name;
|
|
||||||
builder = ./builder.sh;
|
|
||||||
buildInputs = buildInputs ++ [ R ];
|
|
||||||
phases = [ "installPhase" "fixupPhase" ];
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user