* Don't use nested lists.

svn path=/nixpkgs/trunk/; revision=20914
This commit is contained in:
Eelco Dolstra 2010-04-01 14:41:51 +00:00
parent 16ef66f67e
commit d1a7c6e39f

View File

@ -1,6 +1,6 @@
perl:
attrs:
{ buildInputs ? [], ... } @ attrs:
perl.stdenv.mkDerivation (
{
@ -22,6 +22,6 @@ perl.stdenv.mkDerivation (
{
name = "perl-" + attrs.name;
builder = ./builder.sh;
buildInputs = [(if attrs ? buildInputs then attrs.buildInputs else []) perl];
buildInputs = buildInputs ++ [ perl ];
}
)