diff options
author | Mitsuhiro Nakamura <m.nacamura@gmail.com> | 2020-11-12 10:11:55 +0900 |
---|---|---|
committer | Mitsuhiro Nakamura <m.nacamura@gmail.com> | 2020-11-12 10:12:30 +0900 |
commit | 109adedd62e705cb1187712cdba3b086bb5b17ad (patch) | |
tree | 952368dabe72956f64cffaafff007e5b45111d38 | |
parent | df76f017f21e95659622b0b364dc0730e5fcafd7 (diff) |
cataclysmDDA: filter out things that do not have for{Tiles,Curses} attrs
-rw-r--r-- | pkgs/games/cataclysm-dda/pkgs/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/games/cataclysm-dda/pkgs/default.nix b/pkgs/games/cataclysm-dda/pkgs/default.nix index 6f3df09a7861..2c8fe3f14d0a 100644 --- a/pkgs/games/cataclysm-dda/pkgs/default.nix +++ b/pkgs/games/cataclysm-dda/pkgs/default.nix @@ -19,9 +19,11 @@ let if isNull build then true else if build.isTiles then - mod.forTiles + mod.forTiles or false + else if build.isCurses then + mod.forCurses or false else - mod.forCurses; + false; in lib.makeExtensible (_: pkgs') |