!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

You have reached the beginning of time (for this room).


SenderMessageTime
21 Aug 2025
@weethet:catgirl.cloudWeetHet

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
@emilazy:matrix.orgemilywhy would it need to change? did I break the behaviour of something in the temp directory functions?10:27:50
@emilazy:matrix.orgemily tbh that #if __APPLE__ seems obsolete 10:28:21
@emilazy:matrix.orgemily given that builds are now in /nix 10:28:26
@emilazy:matrix.orgemilymaybe we could just drop it…10:28:30
@raitobezarius:matrix.orgraitobezarius 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:matrix.orgraitobezariusmaybe a clean revert is better hm14:35:21
@raitobezarius:matrix.orgraitobezariusok, i will do a clean revert of the 12-submitted-series14:36:25
@raitobezarius:matrix.orgraitobezarius https://gerrit.lix.systems/c/lix/+/4039 revert chain 14:37:24
@raitobezarius:matrix.orgraitobezariusrevert applied20:14:52
@emilazy:matrix.orgemilyI'll look into it when I get the chance.20:16:34
@raitobezarius:matrix.orgraitobezarius no worries, emily, take your time 20:16:47
@raitobezarius:matrix.orgraitobezariusthank you!20:16:49
@niko:nrab.lol-> @n:rab.lolI forgor to contribute adding capnproto to propagadedBuildInputs again damn21:45:03
@niko:nrab.lol-> @n:rab.lol Each time bumping attic reminds me to do it and each time I forget about it 21:45:26
@june:nekover.seJune joined the room.22:48:48

Show newer messages


Back to Room ListRoom Version: 10