From 23251e3e0c2cf208270d3f7a52ac7500ee23c42c Mon Sep 17 00:00:00 2001 From: Mahmoud Ayman Date: Mon, 25 Mar 2024 20:29:58 +0200 Subject: [PATCH] anki-bin: clear plugin path environment variable Co-authored-by: SuperSandro2000 --- pkgs/games/anki/bin.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/games/anki/bin.nix b/pkgs/games/anki/bin.nix index cb872c7a54dd..d6789f63b82d 100644 --- a/pkgs/games/anki/bin.nix +++ b/pkgs/games/anki/bin.nix @@ -54,6 +54,11 @@ let inherit pname version; name = null; # Appimage sets it to "appimage-env" + profile = '' + # anki vendors QT and mixing QT versions usually causes crashes + unset QT_PLUGIN_PATH + ''; + # Dependencies of anki targetPkgs = pkgs: (with pkgs; [ xorg.libxkbfile xcb-util-cursor-HEAD krb5 ]);