Merge pull request #40255 from matthewbauer/remove-enableIfAvailable

treewide: remove lib.meta.enableIfAvailable
This commit is contained in:
Matthew Justin Bauer
2018-05-10 16:00:16 -05:00
committed by GitHub
3 changed files with 10 additions and 9 deletions
-2
View File
@@ -86,6 +86,4 @@ rec {
then { system = elem; }
else { parsed = elem; };
in lib.matchAttrs pattern platform;
enableIfAvailable = p: if p.meta.available or true then [ p ] else [];
}