From d5a7475fbb55f6f6f9512c90d7cbf9d8379bca2c Mon Sep 17 00:00:00 2001 From: lucasew Date: Sun, 15 Sep 2024 19:02:05 -0300 Subject: [PATCH] container: fix missing cacert Signed-off-by: lucasew --- container.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/container.nix b/container.nix index 6a65996..94c281e 100644 --- a/container.nix +++ b/container.nix @@ -1,5 +1,6 @@ { dockerTools -, python3Packages +, cacert +, callPackage , lib , self }: @@ -28,10 +29,11 @@ dockerTools.streamLayeredImage { config = { Entrypoint = [ - (lib.getExe (python3Packages.callPackage ./package.nix {inherit self;})) + (lib.getExe (callPackage ./package.nix {inherit self;})) ]; User = "user"; Env = [ + "SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt" "HOME=/tmp" "LANGUAGE=en_US" "UID=1000"