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:
parent
688b4cb03e
commit
290aeb344f
|
@ -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"; };
|
||||
|
|
Loading…
Reference in a new issue