Allowing in the cross stdenv adapter the calls to mkDerivation without name.

I don't know why there are such calls, but there are.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18482
This commit is contained in:
Lluís Batlle i Rossell 2009-11-20 12:33:43 +00:00
parent 7983251ce0
commit 4497215410

View file

@ -110,7 +110,7 @@ rec {
# Return a modified stdenv that adds a cross compiler to the
# builds.
makeStdenvCross = stdenv: cross: binutilsCross: gccCross: stdenv //
{ mkDerivation = {name, buildInputs ? [], buildNativeInputs ? [],
{ mkDerivation = {name ? "", buildInputs ? [], buildNativeInputs ? [],
propagatedBuildInputs ? [], propagatedBuildNativeInputs ? [], ...}@args: let
# *BuildInputs exists temporarily as another name for