| 29 Jul 2025 |
WeetHet | It works yea | 15:58:51 |
WeetHet | * It works yeah | 15:59:04 |
WeetHet | ssl-cert-file = /etc/ssl/certs/ca-certificates.crt should be unnecessary as well, it's set by me since I thought that it might fix this | 16:00:09 |
emily | what is echo $NIX_SSL_CERT_FILE | 16:04:32 |
WeetHet | $ echo $NIX_SSL_CERT_FILE
/etc/ssl/certs/ca-certificates.crt
| 16:17:56 |
emily | er well sorry I meant inside the build, but you'd need it before stdenv clobbers it | 16:18:17 |
emily | try with a custom builder maybe? | 16:18:23 |
emily | with import (builtins.getFlake "nixpkgs") { }; derivation { name = "test"; builder = lib.getExe bash; args = [ "-c" "echo $NIX_SSL_CERT_FILE; exit 1" ]; system = builtins.currentSystem; } or something | 16:20:33 |
WeetHet | $ nix-build --no-out-link --log-format raw 19s
this derivation will be built:
/nix/store/pn49f92bjpwfqlx300wyhx7akcly7ark-test.drv
building '/nix/store/pn49f92bjpwfqlx300wyhx7akcly7ark-test.drv'...
error: builder for '/nix/store/pn49f92bjpwfqlx300wyhx7akcly7ark-test.drv' failed with exit code 1;
last 1 log lines:
> SSL_FILE is
For full logs, run 'nix log /nix/store/pn49f92bjpwfqlx300wyhx7akcly7ark-test.drv'.
| 16:22:22 |
emily | 🤔 | 16:22:34 |
emily | and without sandbox it gets set? | 16:22:38 |
WeetHet | Yes | 16:22:45 |
emily | your daemon is definitely on the new version, not just client? | 16:23:00 |
WeetHet | I think so | 16:23:09 |
WeetHet | I rebooted | 16:23:11 |
emily | can you get debug-level logging? | 16:23:28 |
raitobezarius | i think i have ideas | 16:24:32 |
WeetHet | Redacted or Malformed Event | 16:24:46 |
WeetHet | I mean the derivation you provided is not a FOD | 16:25:03 |
WeetHet | Download out.log | 16:25:46 |
emily | oh | 16:26:07 |
emily | well yes sorry make it a FOD then 😅 | 16:26:17 |
WeetHet | I've built my original one | 16:26:30 |
WeetHet | Here's the debug log | 16:26:37 |
emily | needs the daemon log I think | 16:26:42 |
emily | maybe? | 16:26:51 |
emily | raitobezarius: (does that user-facing warning actually reach the user when used via the daemon?) | 16:26:59 |
raitobezarius | hmmmmmmmmmmmmmmmm | 16:27:12 |
raitobezarius | good question | 16:27:18 |
raitobezarius | i think so yeah | 16:27:22 |