libstore/build: resolve symlinks beneath settings.caFile

This behavior existed before I32f8b5ce20fe9b6a911768114c92f95fc886cc07
was introduced.

It was remarked in
https://gerrit.lix.systems/c/lix/+/3765/comment/1ff0b2b7_ae67ab1b/.

Change-Id: I7a72e7c36c6043a6c2cb8cab57ad45a552d5e2b6
Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
Raito Bezarius
2025-10-22 13:23:48 +00:00
parent 7a0b8834a4
commit e0d2fa89d3
+1 -1
View File
@@ -933,7 +933,7 @@ void LocalDerivationGoal::initTmpDir() {
void LocalDerivationGoal::setupConfiguredCertificateAuthority()
{
if (settings.caFile != "") {
if (pathAccessible(settings.caFile)) {
if (pathAccessible(settings.caFile, true)) {
auto prefix = useChroot ?
#if __linux__
chrootRootDir