* Same as r18113.
svn path=/nixpkgs/branches/xorg-7.5/; revision=18114
This commit is contained in:
parent
cfe0ffad3a
commit
dba29df1dc
@ -38,8 +38,9 @@ let
|
|||||||
packagesWithMetaPlatform = attrSet:
|
packagesWithMetaPlatform = attrSet:
|
||||||
if builtins ? tryEval then
|
if builtins ? tryEval then
|
||||||
let pairs = pkgs.lib.concatMap
|
let pairs = pkgs.lib.concatMap
|
||||||
(x: let val = builtins.tryEval (processPackage (builtins.getAttr x attrSet)); in
|
(x:
|
||||||
if val.success && val.value != [] then [{name=x; value=val.value;}] else [])
|
let val = builtins.tryEval (processPackage (builtins.getAttr x attrSet)); in
|
||||||
|
if builtins.isAttrs x && val.success && val.value != [] then [{name=x; value=val.value;}] else [])
|
||||||
(builtins.attrNames attrSet);
|
(builtins.attrNames attrSet);
|
||||||
in
|
in
|
||||||
builtins.listToAttrs pairs
|
builtins.listToAttrs pairs
|
||||||
|
Loading…
Reference in New Issue
Block a user