diff options
author | Jackson Abascal <jacksonabascal@gmail.com> | 2024-04-15 15:15:02 -0700 |
---|---|---|
committer | Jackson Abascal <jacksonabascal@gmail.com> | 2024-04-15 15:15:02 -0700 |
commit | adc7c544419d22992ad9f9504a78f5074bd7afbe (patch) | |
tree | 25d4d139f05a6ad0a39944061091c418a3fe76f8 /pkgs/games | |
parent | 7d7fedcedea7b082f566e75bfed7aed7950f07e3 (diff) |
anki-bin: set SSL cert path environment variable
Diffstat (limited to 'pkgs/games')
-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 |