mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
* Don't use nested lists.
svn path=/nixpkgs/trunk/; revision=20914
This commit is contained in:
parent
16ef66f67e
commit
d1a7c6e39f
@ -1,6 +1,6 @@
|
|||||||
perl:
|
perl:
|
||||||
|
|
||||||
attrs:
|
{ buildInputs ? [], ... } @ attrs:
|
||||||
|
|
||||||
perl.stdenv.mkDerivation (
|
perl.stdenv.mkDerivation (
|
||||||
{
|
{
|
||||||
@ -22,6 +22,6 @@ perl.stdenv.mkDerivation (
|
|||||||
{
|
{
|
||||||
name = "perl-" + attrs.name;
|
name = "perl-" + attrs.name;
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
buildInputs = [(if attrs ? buildInputs then attrs.buildInputs else []) perl];
|
buildInputs = buildInputs ++ [ perl ];
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user