From e0ca8e74ffd1a0e3d196c8f136c4358210588c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 4 Apr 2012 19:50:15 +0000 Subject: [PATCH] GNU: Add an `__overrides' parameter. svn path=/nixpkgs/trunk/; revision=33584 --- pkgs/os-specific/gnu/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/gnu/default.nix b/pkgs/os-specific/gnu/default.nix index 1c4af3bdbfbe..515218747f38 100644 --- a/pkgs/os-specific/gnu/default.nix +++ b/pkgs/os-specific/gnu/default.nix @@ -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;