1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-18 08:59:42 +00:00

buildLinux: pass buildPackages to linuxManualConfig

We should be using the _same_ buildPackages when we generate the
configuration (which happens in buildLinux) as when we actually build
the kernel (which happens in linuxManualConfig).

This change enforces that when we callPackage `manual-config.nix` we
pass on whatever `buildPackages` that `buildLinux` itself was called
with.
This commit is contained in:
Bernardo Meurer 2021-07-17 18:57:35 -07:00
parent 688b4cb03e
commit 290aeb344f
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246

View file

@ -179,7 +179,7 @@ let
};
}; # end of configfile derivation
kernel = (callPackage ./manual-config.nix {}) {
kernel = (callPackage ./manual-config.nix { inherit buildPackages; }) {
inherit version modDirVersion src kernelPatches randstructSeed lib stdenv extraMakeFlags extraMeta configfile;
config = { CONFIG_MODULES = "y"; CONFIG_FW_LOADER = "m"; };