I set up my self-hosted runner on AWS with philips-labs/terraform-aws-github-runner, and found that python programs fails to fetch from HTTPS URLs without environment variable NIX_SSL_CERT_FILE. Only occured with Amazon Linux 2 AMIs, with Ubuntu AMIs this action just worked fine.
Can we somehow detect this situation and automatically set this environment variable? Currenly, the action only sets the variable on macOS runners.
I set up my self-hosted runner on AWS with philips-labs/terraform-aws-github-runner, and found that python programs fails to fetch from HTTPS URLs without environment variable
NIX_SSL_CERT_FILE
. Only occured with Amazon Linux 2 AMIs, with Ubuntu AMIs this action just worked fine.Can we somehow detect this situation and automatically set this environment variable? Currenly, the action only sets the variable on macOS runners.
https://github.com/cachix/install-nix-action/blob/451e61183802597c1febd6ca3cf18aa163f93a06/install-nix.sh#L72-L78