cataclysmDDA: filter out things that do not have for{Tiles,Curses} attrs

+4 -2
+4 -2
pkgs/games/cataclysm-dda/pkgs/default.nix
··· 19 19 if isNull build then 20 20 true 21 21 else if build.isTiles then 22 - mod.forTiles 22 + mod.forTiles or false 23 + else if build.isCurses then 24 + mod.forCurses or false 23 25 else 24 - mod.forCurses; 26 + false; 25 27 in 26 28 27 29 lib.makeExtensible (_: pkgs')