mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
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 New Issue
Block a user