!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

415 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.139 Servers

Load older messages


SenderMessageTime
29 Jul 2025
@emilazy:matrix.orgemilythe call is inside the damn Linux conditional lol16:31:19
@raitobezarius:matrix.orgraitobezariusyes16:31:25
@weethet:catgirl.cloudWeetHetOne of them yes16:31:26
@weethet:catgirl.cloudWeetHetThere are two 16:31:30
@raitobezarius:matrix.orgraitobezariusthis is why i said i know where it is ;P16:31:29
@emilazy:matrix.orgemily yes but the other is !useChroot 16:31:41
@raitobezarius:matrix.orgraitobezariuscorrect16:31:44
@raitobezarius:matrix.orgraitobezariusit should be a trivial fix16:31:46
@raitobezarius:matrix.orgraitobezariusbut i cannot test it automatically alas16:31:57
@emilazy:matrix.orgemily the call should just be moved out of the #if 16:32:06
@emilazy:matrix.orgemilyand the other one removed16:32:08
@raitobezarius:matrix.orgraitobezariuscan u send a CL?16:32:15
@raitobezarius:matrix.orgraitobezariusi'm doing other things rn16:32:19
@weethet:catgirl.cloudWeetHetYep16:32:22
@raitobezarius:matrix.orgraitobezariusclipboard.png
Download clipboard.png
16:32:39
@raitobezarius:matrix.orgraitobezariusthis sort of things16:32:41
@weethet:catgirl.cloudWeetHetI need to build the devenv but then yeah16:33:05
@emilazy:matrix.orgemily meanwhile Sandbox: libarchive_test(91665) deny(1) file-write-create /nix/var/nix/builds/nix-build-libarchive-3.8.1.drv-6/btar.md.CvYd75 16:33:45
@emilazy:matrix.orgemilyso much macOS fun lately16:34:20
@weethet:catgirl.cloudWeetHet
diff --git a/lix/libstore/build/local-derivation-goal.cc b/lix/libstore/build/local-derivation-goal.cc
index e0e14b09f..bc402d00a 100644
--- a/lix/libstore/build/local-derivation-goal.cc
+++ b/lix/libstore/build/local-derivation-goal.cc
@@ -1249,8 +1249,6 @@ void LocalDerivationGoal::runChild()
                         "non-functional."
                     );
                 }
-
-                setupConfiguredCertificateAuthority();
             }
 
             for (auto & i : ss) pathsInChroot.emplace(i, i);
@@ -1406,11 +1404,8 @@ void LocalDerivationGoal::runChild()
         }
 #endif
 
-        if (!useChroot) {
-            /* When chroot is not used, FODs still requires a CA to be available as well. */
-            if (!derivationType->isSandboxed()) {
-                setupConfiguredCertificateAuthority();
-            }
+        if (!derivationType->isSandboxed()) {
+            setupConfiguredCertificateAuthority();
         }
 
         if (chdir(tmpDirInSandbox.c_str()) == -1)
16:34:36
@weethet:catgirl.cloudWeetHetI think this is the patch16:34:41
@weethet:catgirl.cloudWeetHetLet me rebuild and check16:34:46
@emilazy:matrix.orgemilyit looks like we were passing in the certs to non-FODs on Linux?16:35:24
@emilazy:matrix.orgemilyso that's a fun purity bug16:35:37
@weethet:catgirl.cloudWeetHetI think so yeah16:35:47
@weethet:catgirl.cloudWeetHetWell it didn't even reach stable so it's all good16:36:02
@emilazy:matrix.orgemilybtw was https://gerrit.lix.systems/c/lix/+/3765/8/lix/libstore/build/local-derivation-goal.cc#920 fixed16:36:02
@emilazy:matrix.orgemilybecause maybe want to tackle that at the same time16:36:07
@emilazy:matrix.orgemilyno the previous logic was doing it too it looks like16:36:13
@emilazy:matrix.orgemilyoh16:36:22

Show newer messages


Back to Room ListRoom Version: 10