cataclysmDDA: refactoring

+2 -2
+2 -2
pkgs/games/cataclysm-dda/pkgs/default.nix
··· 13 }; 14 }; 15 16 - pkgs' = lib.mapAttrs (_: mod: lib.filterAttrs availableForBuild mod) pkgs; 17 18 - availableForBuild = _: mod: 19 if isNull build then 20 true 21 else if build.isTiles then
··· 13 }; 14 }; 15 16 + pkgs' = lib.mapAttrs (_: mods: lib.filterAttrs isAvailable mods) pkgs; 17 18 + isAvailable = _: mod: 19 if isNull build then 20 true 21 else if build.isTiles then