diff --git a/overlay/mobile-nixos/kernel/builder.nix b/overlay/mobile-nixos/kernel/builder.nix index 3e0ab4da..a6d4ccb4 100644 --- a/overlay/mobile-nixos/kernel/builder.nix +++ b/overlay/mobile-nixos/kernel/builder.nix @@ -56,6 +56,7 @@ in , patches ? [] , postPatch ? "" , makeFlags ? [] +, nativeBuildInputs ? [] # Part of the "API" of the kernel builder. # Image builders expect this attribute to know where to find the kernel file. @@ -115,6 +116,7 @@ let kernel = stdenv.mkDerivation { ++ optional (stdenv.lib.versionAtLeast version "4.14") libelf ++ optional (stdenv.lib.versionAtLeast version "4.15") utillinux ++ optionals (stdenv.lib.versionAtLeast version "4.16") [ bison flex ] + ++ nativeBuildInputs ; patches =