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
@ -47,8 +47,10 @@ let
|
|||||||
if attrSet ? recurseForDerivations && attrSet.recurseForDerivations then
|
if attrSet ? recurseForDerivations && attrSet.recurseForDerivations then
|
||||||
selectMaintained attrSet
|
selectMaintained attrSet
|
||||||
else
|
else
|
||||||
if attrSet.meta.maintainers != [] then
|
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
|
else
|
||||||
[];
|
[];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user