kexectools: Disable only on RISC-V if Linux.

The isKexecable flag treated Linux without kexec as just a normal
variant, when it really should be treated as a special case incurring
complexity debt to support.
This commit is contained in:
Shea Levy
2018-03-27 08:15:07 -04:00
parent b0482248fe
commit cdf9a78a3e
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }:
{
config = lib.mkIf (pkgs.kexectools != null) {
config = lib.mkIf (pkgs.kexectools.meta.available) {
environment.systemPackages = [ pkgs.kexectools ];
systemd.services."prepare-kexec" =