summary refs log tree commit diff
path: root/pkgs/os-specific/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-04-04 19:50:15 +0000
committerLudovic Courtès <ludo@gnu.org>2012-04-04 19:50:15 +0000
commite0ca8e74ffd1a0e3d196c8f136c4358210588c4f (patch)
treec35391fbf593dff796950b13f0192cbaad9e5925 /pkgs/os-specific/gnu
parentf3f8040aafbeaaeaa584e306f7087b11a0e04b53 (diff)
downloadnixlib-e0ca8e74ffd1a0e3d196c8f136c4358210588c4f.tar
nixlib-e0ca8e74ffd1a0e3d196c8f136c4358210588c4f.tar.gz
nixlib-e0ca8e74ffd1a0e3d196c8f136c4358210588c4f.tar.bz2
nixlib-e0ca8e74ffd1a0e3d196c8f136c4358210588c4f.tar.lz
nixlib-e0ca8e74ffd1a0e3d196c8f136c4358210588c4f.tar.xz
nixlib-e0ca8e74ffd1a0e3d196c8f136c4358210588c4f.tar.zst
nixlib-e0ca8e74ffd1a0e3d196c8f136c4358210588c4f.zip
GNU: Add an `__overrides' parameter.
svn path=/nixpkgs/trunk/; revision=33584
Diffstat (limited to 'pkgs/os-specific/gnu')
-rw-r--r--pkgs/os-specific/gnu/default.nix6
1 files changed, 5 insertions, 1 deletions
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;