From ff728a63650a2544351b5114912589c8e7faf21f Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sun, 29 Jul 2012 01:29:56 -0400 Subject: [PATCH] The kernel build needs hostname and perl --- pkgs/os-specific/linux/kernel/manual-config.nix | 4 +++- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 8cf8b6502166..783a41337551 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -1,4 +1,4 @@ -{ stdenv, runCommand }: +{ stdenv, runCommand, nettools, perl }: { version, modDirVersion ? version, src, patches ? [], config }: @@ -69,6 +69,8 @@ stdenv.mkDerivation ({ ''; INSTALL_PATH = "$out"; + + buildNativeInputs = [ perl nettools ]; } // optionalAttrs features.modular { MODLIB = "$out/lib/modules/${modDirVersion}"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0ca0f90768a3..190c380fccb6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5858,7 +5858,7 @@ let # A function to build a manually-configured kernel linuxManualConfig = import ../os-specific/linux/kernel/manual-config.nix { - inherit stdenv runCommand; + inherit stdenv runCommand nettools perl; }; keyutils = callPackage ../os-specific/linux/keyutils { };