When `meta.platforms' is absent, assume packages target all platforms.
svn path=/nixpkgs/trunk/; revision=17189
This commit is contained in:
parent
717910394b
commit
2e32120360
@ -48,7 +48,9 @@ let
|
||||
selectMaintained attrSet
|
||||
else
|
||||
if attrSet.meta.maintainers != [] then
|
||||
attrSet.meta.platforms
|
||||
(if builtin.hasAttr "platforms" attrSet.meta
|
||||
then builtin.getAttr "platforms" attrSet.meta
|
||||
else pkgs.lib.platforms.all)
|
||||
else
|
||||
[];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user