From e0d2fa89d3d62a5664a51a69b2fcb2c867c18ff3 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Tue, 21 Oct 2025 23:57:37 +0200 Subject: [PATCH] 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 --- lix/libstore/build/local-derivation-goal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lix/libstore/build/local-derivation-goal.cc b/lix/libstore/build/local-derivation-goal.cc index 0d259158f..531affb49 100644 --- a/lix/libstore/build/local-derivation-goal.cc +++ b/lix/libstore/build/local-derivation-goal.cc @@ -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