From 109adedd62e705cb1187712cdba3b086bb5b17ad Mon Sep 17 00:00:00 2001 From: Mitsuhiro Nakamura Date: Thu, 12 Nov 2020 10:11:55 +0900 Subject: [PATCH] cataclysmDDA: filter out things that do not have for{Tiles,Curses} attrs --- pkgs/games/cataclysm-dda/pkgs/default.nix | 6 ++++-- 1 file 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')