GNU: Add an `__overrides' parameter.

svn path=/nixpkgs/trunk/; revision=33584
This commit is contained in:
Ludovic Courtès 2012-04-04 19:50:15 +00:00
parent f3f8040aaf
commit e0ca8e74ff

View File

@ -3,11 +3,15 @@
args@{ fetchgit, stdenv, autoconf, automake, automake111x, libtool
, texinfo, glibcCross, hurdPartedCross, libuuid, samba_light
, gccCrossStageStatic, gccCrossStageFinal
, forceBuildDrv, forceSystem, callPackage, platform, config, crossSystem }:
, forceBuildDrv, forceSystem, callPackage, platform, config, crossSystem
, __overrides ? {} }:
with args;
rec {
# Allow callers to override elements of this attribute set.
inherit __overrides;
hurdCross = forceBuildDrv(import ./hurd {
inherit fetchgit stdenv autoconf libtool texinfo machHeaders
mig glibcCross hurdPartedCross;