top-level.nix: stdenv.platform -> stdenv.hostPlatform.platform
because stdenv.platform is stdenv.buildPlatform.platform
This commit is contained in:
parent
f305b9b086
commit
72f5078beb
@ -46,7 +46,7 @@ let
|
|||||||
|
|
||||||
ln -s ${kernelPath} $out/kernel
|
ln -s ${kernelPath} $out/kernel
|
||||||
ln -s ${config.system.modulesTree} $out/kernel-modules
|
ln -s ${config.system.modulesTree} $out/kernel-modules
|
||||||
${optionalString (pkgs.stdenv.platform.kernelDTB or false) ''
|
${optionalString (pkgs.stdenv.hostPlatform.platform.kernelDTB or false) ''
|
||||||
ln -s ${config.boot.kernelPackages.kernel}/dtbs $out/dtbs
|
ln -s ${config.boot.kernelPackages.kernel}/dtbs $out/dtbs
|
||||||
''}
|
''}
|
||||||
|
|
||||||
@ -175,7 +175,7 @@ in
|
|||||||
|
|
||||||
system.boot.loader.kernelFile = mkOption {
|
system.boot.loader.kernelFile = mkOption {
|
||||||
internal = true;
|
internal = true;
|
||||||
default = pkgs.stdenv.platform.kernelTarget;
|
default = pkgs.stdenv.hostPlatform.platform.kernelTarget;
|
||||||
type = types.str;
|
type = types.str;
|
||||||
description = ''
|
description = ''
|
||||||
Name of the kernel file to be passed to the bootloader.
|
Name of the kernel file to be passed to the bootloader.
|
||||||
|
Loading…
Reference in New Issue
Block a user