DavHau / nix-portable

Nix - Static, Permissionless, Installation-free, Pre-configured
MIT License
870 stars 31 forks source link

SSL errors when /etc/ssl/certs is missing ca-certificates.crt #122

Open feynmanliang opened 3 months ago

feynmanliang commented 3 months ago

When I don't have ca-certificates.crt, I get SSL errors

feynman@nesterov:~/code/nixosity/home-manager> nix-portable nix run github:nix-community/home-manager
warning: error: unable to download 'https://api.github.com/repos/nix-community/home-manager/commits/HEAD': SSL connect error (35); retrying in 297 ms
warning: error: unable to download 'https://api.github.com/repos/nix-community/home-manager/commits/HEAD': SSL connect error (35); retrying in 646 ms

These are fixed when I add this file. e.g. for my microos installation, installing https://software.opensuse.org/package/ca-certificates-steamtricks fixes it

It would be nice if we could use nix-portable without generating a certificate bundle.