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
+2
View File
@@ -86,4 +86,6 @@ rec {
then { system = elem; }
else { parsed = elem; };
in lib.matchAttrs pattern platform;
enableIfAvailable = p: if p.meta.available or true then [ p ] else [];
}