!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
29 Jul 2025
@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
@emilazy:matrix.orgemily no it's in an if ok 16:36:25
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
btw was https://gerrit.lix.systems/c/lix/+/3765/8/lix/libstore/build/local-derivation-goal.cc#920 fixed
nope
16:36:48
@emilazy:matrix.orgemilyoh wait16:38:49
@emilazy:matrix.orgemily /btar 16:38:51
@emilazy:matrix.orgemilylol16:38:52
@emilazy:matrix.orgemilyso16:39:02
@emilazy:matrix.orgemily $TMPDIR ends with a / normally on macOS 16:39:08
@emilazy:matrix.orgemily e.g. /var/folders/1v/jtp_4pzx7xq371f8j_xdnrvm0000gn/T/ 16:39:15
@emilazy:matrix.orgemily /nix/var/nix/builds/nix-build-libarchive-3.8.1.drv-6/b does not 16:39:28
@emilazy:matrix.orgemilydo we want to work around that when things concatenate without the slash or just say it's an upstream bug?16:39:41
@emilazy:matrix.orgemily (I mean it is an upstream bug) 16:39:45
@emilazy:matrix.orgemilyok, I just fixed it upstream16:59:47
@emilazy:matrix.orgemily previously the $TMPDIR would have been /private/tmp/nix-build-libarchive-3.8.1.drv-6 16:59:58

Show newer messages


Back to Room ListRoom Version: 10