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

This commit is contained in:
Mitsuhiro Nakamura 2020-11-12 10:11:55 +09:00
parent df76f017f2
commit 109adedd62

View File

@ -19,9 +19,11 @@ let
if isNull build then if isNull build then
true true
else if build.isTiles then else if build.isTiles then
mod.forTiles mod.forTiles or false
else if build.isCurses then
mod.forCurses or false
else else
mod.forCurses; false;
in in
lib.makeExtensible (_: pkgs') lib.makeExtensible (_: pkgs')