mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-16 20:21:32 +03:00
kernel-builder: Add nativeBuildInputs as a parameter
This is a temporary measure. The last changes have proven that we can't just overrideAttrs things willy-nilly like that, and that the whole builder is in need of a revamp. Let's wait for the revamp, and do the minimum work required to fix the normalization for existing builds.
This commit is contained in:
parent
c360820473
commit
387ce84721
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user