diff options
author | Shea Levy <shea@shealevy.com> | 2018-03-25 17:45:22 -0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-03-27 08:15:07 -0400 |
commit | cdf9a78a3ebb535fa6ba88fce88c655776d2474f (patch) | |
tree | 494af986a0c2adc37a3c6d1173a0dc563ae96174 /lib/meta.nix | |
parent | b0482248fefbf3b6cdd9c92053cfb49778a3a3a8 (diff) |
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.
Diffstat (limited to 'lib/meta.nix')
-rw-r--r-- | lib/meta.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/meta.nix b/lib/meta.nix index 199030c103af..8516cc1cd6f1 100644 --- a/lib/meta.nix +++ b/lib/meta.nix @@ -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 []; } |