From e24eab9b8723280eaa460109914a70d30370e107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Fri, 6 Apr 2012 13:18:58 +0000 Subject: [PATCH] GNU: Use `callPackage'. svn path=/nixpkgs/trunk/; revision=33649 --- pkgs/os-specific/gnu/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/gnu/default.nix b/pkgs/os-specific/gnu/default.nix index 67226c8a4788..0a42b83a46f2 100644 --- a/pkgs/os-specific/gnu/default.nix +++ b/pkgs/os-specific/gnu/default.nix @@ -12,7 +12,7 @@ let callPackage = newScope gnu; gnu = { - hurdCross = forceBuildDrv(import ./hurd { + hurdCross = forceBuildDrv(callPackage ./hurd { inherit fetchgit stdenv autoconf libtool texinfo glibcCross hurdPartedCross; inherit (gnu) machHeaders mig; @@ -23,9 +23,11 @@ let gccCross = gccCrossStageFinal; }); - hurdCrossIntermediate = forceBuildDrv(import ./hurd { + hurdCrossIntermediate = forceBuildDrv(callPackage ./hurd { inherit fetchgit stdenv autoconf libtool texinfo glibcCross; inherit (gnu) machHeaders mig; + hurdPartedCross = null; + libuuid = null; automake = automake111x; headersOnly = false; cross = assert crossSystem != null; crossSystem; @@ -56,7 +58,7 @@ let hurd = null; }; - libpthreadCross = forceBuildDrv(import ./libpthread { + libpthreadCross = forceBuildDrv(callPackage ./libpthread { inherit fetchgit stdenv autoconf automake libtool glibcCross; inherit (gnu) machHeaders hurdHeaders; hurd = gnu.hurdCrossIntermediate;