Fixing typos
svn path=/nixpkgs/trunk/; revision=16887
This commit is contained in:
parent
8bdc1503c1
commit
3a993e2f8e
@ -33,16 +33,15 @@ let
|
||||
(pkgs.lib.getAttrFromPath path pkgs);
|
||||
in testOn job.systems getPkg);
|
||||
|
||||
selectMaintained = attrSet: let
|
||||
selectMaintained = attrSet:
|
||||
if builtins ? tryEval then
|
||||
pairs = pkgs.lib.concatMap
|
||||
let pairs = pkgs.lib.concatMap
|
||||
(x: let val = builtins.tryEval (processPackage (builtins.getAttr x attrSet)); in
|
||||
if val.success && val.value != [] then [{name=x; value=val.value;}] else [])
|
||||
(builtins.attrNames attrSet);
|
||||
else
|
||||
[];
|
||||
in
|
||||
builtins.listToAttrs pairs;
|
||||
in
|
||||
builtins.listToAttrs pairs
|
||||
else {};
|
||||
# May fail as much as it wishes, we will catch the error
|
||||
processPackage = attrSet:
|
||||
if attrSet ? recurseForDerivations && attrSet.recurseForDerivations then
|
||||
|
Loading…
Reference in New Issue
Block a user