diff options
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 199030c103af5..8516cc1cd6f1b 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 []; } |