mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-23 01:41:05 +03:00
nixos treewide: Fix references to linux-kernel.target
Thanks @ajs124 in https://github.com/NixOS/nixpkgs/pull/110544#discussion_r563828722 for catching this. According to: git grep 'inherit.*Platform.*platform' git grep ' linux-kernel' We now don't have any remaining problems of this sort, thankfully.
This commit is contained in:
parent
67fabbc7c3
commit
63b02e55db
2 changed files with 2 additions and 7 deletions
|
@ -5,8 +5,6 @@ with lib;
|
|||
let
|
||||
cfg = config.boot.loader.raspberryPi;
|
||||
|
||||
inherit (pkgs.stdenv.hostPlatform) platform;
|
||||
|
||||
builderUboot = import ./uboot-builder.nix { inherit pkgs configTxt; inherit (cfg) version; };
|
||||
builderGeneric = import ./raspberrypi-builder.nix { inherit pkgs configTxt; };
|
||||
|
||||
|
@ -102,6 +100,6 @@ in
|
|||
|
||||
system.build.installBootLoader = builder;
|
||||
system.boot.loader.id = "raspberrypi";
|
||||
system.boot.loader.kernelFile = linux-kernel.target;
|
||||
system.boot.loader.kernelFile = pkgs.stdenv.hostPlatform.linux-kernel.target;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue