kernelHeaders: fix build with libmpc

This commit is contained in:
Domen Kožar 2016-04-06 12:42:35 +01:00
parent b77df197f5
commit e9842ea8d7

View file

@ -1,4 +1,4 @@
{ stdenv, kernel, perl }:
{ stdenv, kernel, perl, libmpc }:
let
baseBuildFlags = [ "INSTALL_HDR_PATH=$(out)" "headers_install" ];
@ -7,7 +7,7 @@ in stdenv.mkDerivation {
inherit (kernel) src patches;
nativeBuildInputs = [ perl ];
nativeBuildInputs = [ perl libmpc ];
buildFlags = [ "ARCH=${stdenv.platform.kernelArch}" ] ++ baseBuildFlags;