nixos/netboot: fix eval on non x86_64 systems

pkgs is x86_64-linux, which makes the build on aarch64-linux i.e. fail.
This commit is contained in:
Jörg Thalheim 2023-08-04 22:19:30 +02:00 committed by Jörg Thalheim
parent 38c9fcdf40
commit 6177463501

View file

@ -123,7 +123,7 @@ let
build = configEvaled.config.system.build; build = configEvaled.config.system.build;
kernelTarget = configEvaled.pkgs.stdenv.hostPlatform.linux-kernel.target; kernelTarget = configEvaled.pkgs.stdenv.hostPlatform.linux-kernel.target;
in in
pkgs.symlinkJoin { configEvaled.pkgs.symlinkJoin {
name = "netboot"; name = "netboot";
paths = [ paths = [
build.netbootRamdisk build.netbootRamdisk