git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit290aeb344f27a40c50b534c43f18484b48b29102 authorBernardo Meurer <bernardo@meurer.org> dateSat 17 Jul 2021, 18:57 (5 years ago) parent688b4cb
1 file changed+1−1
pkgs/os-specific/linux/kernel/generic.nix+1−1
pkgs/os-specific/linux/kernel/generic.nix+1−1
@@ -179,7 +179,7 @@ let
179179 };
180180 }; # end of configfile derivation
181181
182− kernel = (callPackage ./manual-config.nix {}) {
182+ kernel = (callPackage ./manual-config.nix { inherit buildPackages; }) {
183183 inherit version modDirVersion src kernelPatches randstructSeed lib stdenv extraMakeFlags extraMeta configfile;
184184
185185 config = { CONFIG_MODULES = "y"; CONFIG_FW_LOADER = "m"; };