fix(sourcehut): make python's requests use global ca-certificates store

This commit is contained in:
Khaïs COLIN 2024-08-12 13:50:42 +02:00
parent 406d1cc6ca
commit b895943359

View file

@ -144,6 +144,11 @@
]; ];
# set global environment variables # set global environment variables
environment.variables = {
# make python's requests package use the global ca-certificates store, which will contain my own CA cert
REQUESTS_CA_BUNDLE = "/etc/ssl/certs/ca-certificates.crt";
};
# set user environment variables
environment.sessionVariables = { environment.sessionVariables = {
# I don't know what this does, but it is needed for wluma to work correctly. # I don't know what this does, but it is needed for wluma to work correctly.
# It will also slightly increase cpu usage (on wayland compositors), but shouldn't be too bad. # It will also slightly increase cpu usage (on wayland compositors), but shouldn't be too bad.