| 20 Aug 2025 |
raitobezarius | i think we are facing a combination of two things: | 10:20:29 |
raitobezarius | hangs due to certificates | 10:20:31 |
raitobezarius | and emilazy's changes might be doing something bad to darwin | 10:20:38 |
emily | I tested with temp-dir = /nix/tmp. possible that I regressed something with temp-dir = /tmp. though it would be a bit weird since most of the refactoring around temp stuff was fairly mechanical | 11:32:47 |
| jopejoe1 changed their display name from jopejoe1 (4094@GPN23) to jopejoe1. | 18:50:44 |
| 21 Aug 2025 |
WeetHet | What the | 07:58:55 |
WeetHet | nix flake update should have nothing to do with that code | 08:01:19 |
WeetHet | Fails:
$ nix --extra-experimental-features nix-command --extra-experimental-features flakes flake lock --override-input lix git+https://git.lix.systems/lix-project/lix?rev=20f84eb6bfa874a1c4f45b38b949335f580ea0d7
error:
… while updating the lock file of flake 'path:/Users/weethet/Projects/Trash?lastModified=1755765056&narHash=sha256-gTvZ/vT/V3E8DVb2V%2BH03/0mNxHr7V0RG2FTU1V9B7U%3D'
… while updating the flake input 'lix'
… while fetching the input 'git+https://git.lix.systems/lix-project/lix?rev=20f84eb6bfa874a1c4f45b38b949335f580ea0d7'
error: failed to extract archive (Cannot extract through symlink /tmp/nix-7s5dsxncvd8wyr6wd9wpkv5f4y/.clang-format)
Succeeds:
$ TMPDIR=/private/tmp nix --extra-experimental-features nix-command --extra-experimental-features flakes flake lock --override-input lix git+https://git.lix.systems/lix-project/lix?rev=20f84eb6bfa874a1c4f45b38b949335f580ea0d7
| 09:15:11 |
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 |
niko ⚡️ | I forgor to contribute adding capnproto to propagadedBuildInputs again damn | 21:45:03 |
niko ⚡️ | 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 |
| @julian:nekover.se left the room. | 22:49:16 |
| 23 Aug 2025 |
aloisw | So we require a toml11 version that is not in nixpkgs yet? https://git.lix.systems/lix-project/lix/commit/4de09b6b5493db4bd7f6348255a1fdcb38b9ed2f | 08:27:24 |
emily | it is not in Nixpkgs precisely because of Nix/Lix and nothing else | 16:47:52 |
emily | but also those commits didn't get backported to stable versions yet | 16:48:35 |
emily | because I opened cherry-picks and then the build broke and I ran out of energy to fix it | 16:48:44 |
emily | (most of the code that commit makes unconditional is removed immediately after with the busted experimental feature anyway…) | 16:50:13 |