module: use kernel package hostPlatform if nixpkgs.hostPlatform is not available

Sometimes, it is not…
This commit is contained in:
Raito Bezarius 2023-09-14 15:33:10 +02:00 committed by nikstur
parent 1330292008
commit f81c30d7d9
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ in
''}
${cfg.package}/bin/lzbt install \
--system ${config.nixpkgs.hostPlatform.system} \
--system ${config.nixpkgs.hostPlatform.system or config.boot.kernelPackages.stdenv.hostPlatform.system} \
--systemd ${config.systemd.package} \
--systemd-boot-loader-config ${loaderConfigFile} \
--public-key ${cfg.publicKeyFile} \