diff options
author | Aleksana <me@aleksana.moe> | 2024-04-18 13:21:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 13:21:40 +0800 |
commit | 8e5f550aa5b2e761c4bb8b4e65c3240418e82f94 (patch) | |
tree | 07272494ae4792ac38b18a129a10b8b653aede0d /pkgs/games/anki | |
parent | 46a7ee4eccd5ccfa8bb97e5b2b5d992a633b6248 (diff) | |
parent | adc7c544419d22992ad9f9504a78f5074bd7afbe (diff) |
Merge pull request #304330 from Cephian/anki-ssl-fix
anki-bin: add explicit SSL cert path
Diffstat (limited to 'pkgs/games/anki')
-rw-r--r-- | pkgs/games/anki/bin.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/games/anki/bin.nix b/pkgs/games/anki/bin.nix index ee293cb7c962f..1ffe999c88963 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 |