1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

The kernel build needs hostname and perl

This commit is contained in:
Shea Levy 2012-07-29 01:29:56 -04:00
parent bf7467cbb1
commit ff728a6365
2 changed files with 4 additions and 2 deletions

View file

@ -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}";

View file

@ -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 { };