From d1a7c6e39fbd8d4ac8dfdbe974d955f82716fdde Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 1 Apr 2010 14:41:51 +0000 Subject: [PATCH] * Don't use nested lists. svn path=/nixpkgs/trunk/; revision=20914 --- pkgs/development/perl-modules/generic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/perl-modules/generic/default.nix b/pkgs/development/perl-modules/generic/default.nix index 91b0500eeaaa..96094ab4e538 100644 --- a/pkgs/development/perl-modules/generic/default.nix +++ b/pkgs/development/perl-modules/generic/default.nix @@ -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 ]; } )