forked from mirrors/nixpkgs
cataclysmDDA: refactoring
This commit is contained in:
parent
109adedd62
commit
19deef39c7
|
@ -13,9 +13,9 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
pkgs' = lib.mapAttrs (_: mod: lib.filterAttrs availableForBuild mod) pkgs;
|
||||
pkgs' = lib.mapAttrs (_: mods: lib.filterAttrs isAvailable mods) pkgs;
|
||||
|
||||
availableForBuild = _: mod:
|
||||
isAvailable = _: mod:
|
||||
if isNull build then
|
||||
true
|
||||
else if build.isTiles then
|
||||
|
|
Loading…
Reference in a new issue