From ef7ac7f917ee825fe6ff64e1d51cf25cc6dd2ac7 Mon Sep 17 00:00:00 2001 From: David Guibert Date: Sun, 25 Apr 2021 19:17:32 +0200 Subject: [PATCH] hostPlatform.platform.kernelTarget -> hostPlatform.linux-kernel.target --- pkgs/pxescript/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/pxescript/default.nix b/pkgs/pxescript/default.nix index 140031d..e3bfbbc 100644 --- a/pkgs/pxescript/default.nix +++ b/pkgs/pxescript/default.nix @@ -10,7 +10,7 @@ in runCommand "netboot" { pxe = '' #!ipxe - kernel ${pkgs.stdenv.hostPlatform.platform.kernelTarget} init=${config.system.build.toplevel}/init ${cmdlineinitrds} ${toString config.boot.kernelParams} + kernel ${pkgs.stdenv.hostPlatform.linux-kernel.target} init=${config.system.build.toplevel}/init ${cmdlineinitrds} ${toString config.boot.kernelParams} ${builtins.concatStringsSep "\n" (builtins.attrValues (builtins.mapAttrs (name: path: "initrd ${name}") initrds))} initrd initrd boot @@ -19,7 +19,7 @@ runCommand "netboot" { } '' mkdir stage cd stage - ln -s "${config.system.build.kernel}/${pkgs.stdenv.hostPlatform.platform.kernelTarget}" ./ + ln -s "${config.system.build.kernel}/${pkgs.stdenv.hostPlatform.linux-kernel.target}" ./ set -x ${builtins.concatStringsSep "\n"