Fix binaries with hard-coded ssl cert files to /etc/ssl/cert.pem

This commit is contained in:
ItsDrike 2024-07-18 12:40:47 +02:00
parent 99994c1472
commit 4b2f0ccb54
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -47,6 +47,11 @@ in {
xorg.libX11
];
};
# Some pre-compiled binaries hard-code ssl cert file to /etc/ssl/cert.pem
# instead of what NixOS uses (/etc/ssl/certs/ca-certificates.crt). Make a
# symlink there for compatibility.
# - For example the rye installed python binaries look there
environment.etc."ssl/cert.pem".source = "/etc/ssl/certs/ca-certificates.crt";
};
}