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