manual-kernel: Add bc to buildNativeInputs.

As timeconst.pl was replaced by a bc script in the merge window for kernel 3.9,
we also need bc during build time, for more information about the reasons,
please have a look at the following commit:

torvalds/linux@70730bca13

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2013-02-28 18:44:05 +01:00
parent 329b33c59c
commit 94fe64b3eb
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, runCommand, nettools, perl, kmod, writeTextFile }:
{ stdenv, runCommand, nettools, bc, perl, kmod, writeTextFile }:
with stdenv.lib;
@ -122,7 +122,7 @@ stdenv.mkDerivation {
runHook postConfigure
'';
buildNativeInputs = [ perl nettools ];
buildNativeInputs = [ perl bc nettools ];
makeFlags = commonMakeFlags ++ [
"INSTALLKERNEL=${installkernel stdenv.platform.kernelTarget}"

View File

@ -6125,7 +6125,7 @@ let
# A function to build a manually-configured kernel
linuxManualConfig = import ../os-specific/linux/kernel/manual-config.nix {
inherit (pkgs) stdenv runCommand nettools perl kmod writeTextFile;
inherit (pkgs) stdenv runCommand nettools bc perl kmod writeTextFile;
};
keyutils = callPackage ../os-specific/linux/keyutils { };