module: use kernel package hostPlatform if nixpkgs.hostPlatform is not available
Sometimes, it is not…
This commit is contained in:
parent
1330292008
commit
f81c30d7d9
|
@ -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} \
|
||||
|
|
Loading…
Reference in New Issue