| 21 Aug 2025 |
WeetHet | Probably this would be the fix:
Path defaultTempDir()
{
auto dir = settings.tempDir.get().or_else([] {
return getEnvNonEmpty("TMPDIR").and_then([](auto val) -> std::optional<Path> {
#if __APPLE__
/* On macOS, don't use the per-session TMPDIR (as set e.g. by
sshd). This breaks build users because they don't have access
to the TMPDIR, in particular in ‘nix-store --serve’. */
if (val.starts_with("/var/folders/")) {
return std::nullopt;
}
#endif
return val;
});
}).value_or("/tmp");
return canonPath(dir, true);
}
| 09:16:15 |
emily | why would it need to change? did I break the behaviour of something in the temp directory functions? | 10:27:50 |
emily | tbh that #if __APPLE__ seems obsolete | 10:28:21 |
emily | given that builds are now in /nix | 10:28:26 |
emily | maybe we could just drop it… | 10:28:30 |
raitobezarius | emily given https://git.lix.systems/lix-project/lix/issues/975 i intend to submit a revert of the series starting from there fwiw | 14:34:33 |
raitobezarius | maybe a clean revert is better hm | 14:35:21 |
raitobezarius | ok, i will do a clean revert of the 12-submitted-series | 14:36:25 |
raitobezarius | https://gerrit.lix.systems/c/lix/+/4039 revert chain | 14:37:24 |
raitobezarius | revert applied | 20:14:52 |
emily | I'll look into it when I get the chance. | 20:16:34 |
raitobezarius | no worries, emily, take your time | 20:16:47 |
raitobezarius | thank you! | 20:16:49 |
-> @n:rab.lol | I forgor to contribute adding capnproto to propagadedBuildInputs again damn | 21:45:03 |
-> @n:rab.lol | Each time bumping attic reminds me to do it and each time I forget about it | 21:45:26 |
| June joined the room. | 22:48:48 |