From d4742ad714ae188b4ce6826dc7310456f532ec34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 17 Feb 2012 20:37:31 +0000 Subject: [PATCH] GNU libc 2.14: Fix cross-GNU builds. svn path=/nixpkgs/branches/stdenv-updates/; revision=32367 --- pkgs/top-level/all-packages.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a77b45c1761..a73b2443999 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3576,15 +3576,18 @@ let in ({ inherit stdenv fetchurl; gccCross = gccCrossStageStatic; - kernelHeaders = if crossGNU then hurdHeaders else linuxHeadersCross; + kernelHeaders = if crossGNU then gnu.hurdHeaders else linuxHeadersCross; installLocales = getConfig [ "glibc" "locales" ] false; } // (if crossGNU - then { inherit machHeaders hurdHeaders mig fetchgit; } - else { })))); + then { + inherit (gnu) machHeaders hurdHeaders libpthreadHeaders mig; + inherit fetchgit; + } + else { }))); # We can choose: libcCrossChooser = name : if (name == "glibc") then glibcCross