Merge pull request #304330 from Cephian/anki-ssl-fix
anki-bin: add explicit SSL cert path
This commit is contained in:
commit
8e5f550aa5
|
@ -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
|
let
|
||||||
pname = "anki-bin";
|
pname = "anki-bin";
|
||||||
|
@ -57,6 +57,8 @@ let
|
||||||
profile = ''
|
profile = ''
|
||||||
# anki vendors QT and mixing QT versions usually causes crashes
|
# anki vendors QT and mixing QT versions usually causes crashes
|
||||||
unset QT_PLUGIN_PATH
|
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
|
# Dependencies of anki
|
||||||
|
|
Loading…
Reference in New Issue
Block a user