From 63c61b67292a4e2bc72b7541aabaf6dc21f7186e Mon Sep 17 00:00:00 2001 From: yuki <44705138+sylfn@users.noreply.github.com> Date: Sun, 2 Aug 2026 21:48:24 +0000 Subject: [PATCH] nixos: fix version checker (#1582) Nixpkgs patches many libraries to read certificate bundle mentioned in NIX_SSL_CERT_FILE, and /nix/store is already present in the sandbox. Related to https://github.com/NixOS/nixpkgs/issues/409848 --- contrib/nixos/modules/copyparty.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/nixos/modules/copyparty.nix b/contrib/nixos/modules/copyparty.nix index 13a8c21c..9a301360 100644 --- a/contrib/nixos/modules/copyparty.nix +++ b/contrib/nixos/modules/copyparty.nix @@ -285,6 +285,7 @@ in environment = { PYTHONUNBUFFERED = "true"; + NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; XDG_CONFIG_HOME = externalStateDir; };