diff --git a/pkgs/games/anki/bin.nix b/pkgs/games/anki/bin.nix index ee293cb7c962..1ffe999c8896 100644 --- a/pkgs/games/anki/bin.nix +++ b/pkgs/games/anki/bin.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, lib, buildFHSEnv, appimageTools, writeShellScript, anki, undmg, zstd, commandLineArgs ? [] }: +{ fetchurl, stdenv, lib, buildFHSEnv, appimageTools, writeShellScript, anki, undmg, zstd, cacert, commandLineArgs ? [] }: let pname = "anki-bin"; @@ -57,6 +57,8 @@ let profile = '' # anki vendors QT and mixing QT versions usually causes crashes unset QT_PLUGIN_PATH + # anki uses the system ssl cert, without it plugins do not download/update + export SSL_CERT_FILE="${cacert}/etc/ssl/certs/ca-bundle.crt" ''; # Dependencies of anki