From 96f1b7cb3218b0022b5a1739e6ff5b970485a600 Mon Sep 17 00:00:00 2001 From: Atemu Date: Fri, 8 Nov 2024 11:07:16 +0100 Subject: [PATCH] gaming: fix yuzu check --- modules/gaming/module.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gaming/module.nix b/modules/gaming/module.nix index 465b4fc..399a63a 100644 --- a/modules/gaming/module.nix +++ b/modules/gaming/module.nix @@ -84,7 +84,7 @@ in # Was removed upstream but I still have it in my Nixpkgs fork. This is a # little hack for making it possible to at least eval the rest of my # config with nixpkgs trees that do not have yuzu. - ++ lib.optional (builtins.tryEval pkgs.yuzu-ea).success pkgs.yuzu-ea + ++ lib.optional (pkgs ? yuzu-ea && (builtins.tryEval pkgs.yuzu-ea).success) pkgs.yuzu-ea ++ [ obs ];