mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
kernel manual-config: Don't use stdenv.cross
This commit is contained in:
parent
459d07d41c
commit
1e3b45cfdb
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
{ stdenv, runCommand, nettools, bc, perl, gmp, libmpc, mpfr, kmod, openssl
|
||||
, writeTextFile, ubootChooser
|
||||
, hostPlatform
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -232,7 +233,7 @@ stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKe
|
|||
|
||||
karch = stdenv.platform.kernelArch;
|
||||
|
||||
crossAttrs = let cp = stdenv.cross.platform; in
|
||||
crossAttrs = let cp = hostPlatform.platform; in
|
||||
(drvAttrs crossConfig cp (kernelPatches ++ crossKernelPatches) crossConfigfile) // {
|
||||
makeFlags = commonMakeFlags ++ [
|
||||
"ARCH=${cp.kernelArch}"
|
||||
|
|
Loading…
Reference in a new issue