!9IQChSjwSHXPPWTa:lix.systems

Lix

628 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms196 Servers

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


SenderMessageTime
5 Oct 2024
@puck:puck.moepuck
In reply to @noob_tea:matrix.org

https://devenv.sh/blog/2024/10/03/devenv-13-instant-developer-environments-with-nix-caching/ this seems interesting.

Do you think it's feasible (from a perf standpoint) to perform such caching and get an overall positive sum result in lix?

i don't think so. the output of these evals is always a single evaluatin, and you can't generalise this; you can't have a shared eval cache between e.g. nixpkgs.hello and nixpkgs.coreutils; unless you track which subset of files is necessary for each value; and that's unscalable
20:29:01
@samrose:matrix.orgsamroseRedacted or Malformed Event20:30:50
@puck:puck.moepuck
In reply to @puck:puck.moe
i don't think so. the output of these evals is always a single evaluatin, and you can't generalise this; you can't have a shared eval cache between e.g. nixpkgs.hello and nixpkgs.coreutils; unless you track which subset of files is necessary for each value; and that's unscalable
(also, i think devenv doesn't handle certain import-from-derivation tricks properly? but eh)
20:31:05
@samrose:matrix.orgsamroseRedacted or Malformed Event20:36:22
@samrose:matrix.orgsamroseRedacted or Malformed Event20:54:39
@samrose:matrix.orgsamroseRedacted or Malformed Event20:55:02
6 Oct 2024
@accelbread:matrix.orgaccelbread joined the room.01:21:00
@iooioio:matrix.org@iooioio:matrix.org left the room.11:33:01
@szlend:matrix.orgszlend Somehow I'm getting this error user '_nixbld4' in the group 'nixbld' does not exist, right after running the installer, even though I'm not on Sequoia. I run a nix build in CI on a fresh MacOS VM every time, and it seems to happen sporadically. Any ideas how to debug this? This issue is not new, I've been running into it for as long as I remember. 15:10:14
@szlend:matrix.orgszlend I don't get it because the _nixbld4 user exists and is part of nixbld. 15:10:55
@szlend:matrix.orgszlendRe-running nix build doesn't solve the issue, which implies it's something to do with the state of the system15:11:37
@szlend:matrix.orgszlend This could only happen if getpwnam returns null here: https://git.lix.systems/lix-project/lix/src/commit/ed9b7f4f84fd60ad8618645cc1bae2d686ff0db6/src/libstore/lock.cc#L75 15:12:45
@szlend:matrix.orgszlend So it seems like getpwnam disagrees with dscacheutil (darwin cli for querying users and groups) 15:13:36
@szlend:matrix.orgszlendI have no idea what could cause this. Maybe a bug in the MacOS user db (e.g. we're creating new users too quickly and something bad happens)?15:15:32
@antifuchs:asf.computerantifuchs szlend: did you upgrade to macOS 15 recently? there was a change about group memberships / gids/ uids that requires a fixing-up of stuff 15:29:58
@antifuchs:asf.computerantifuchsyou can re-run the nix installer and it'll adjust those (won't lose you any data / store contents)15:30:19
@szlend:matrix.orgszlendNope, this has nothing to do with MacOS 15, it's a long standing issues with our MacOS builds in CI15:33:23
@szlend:matrix.orgszlend * Nope, this has nothing to do with MacOS 15, it's a long standing issue with our MacOS builds in CI15:33:25
@szlend:matrix.orgszlendWe're on Ventura actually15:34:18
@antifuchs:asf.computerantifuchsOoooh oops16:27:04
@szlend:matrix.orgszlendIt just seems like an OS bug to me... Maybe it's made worse because it's running in a VM where context switching is probably way more common16:34:51
@lulu-berlin:matrix.orgLulu joined the room.20:23:41
@lulu-berlin:matrix.orgLulu I don't know if this is the right place to ask, but I would like to contribute code to lix but I don't understand how pull requests work here. I tried doing it through Gerrit but couldn't figure it out. Do I need to be granted permissions for that? 20:59:25
@k900:0upti.meK900I don't think you need permission to open a CL20:59:51
@k900:0upti.meK900But Gerrit is... an acquired taste20:59:58
@k900:0upti.meK900 git-gr from nixpkgs is a nice tool to make it easier 21:00:10

Show newer messages


Back to Room ListRoom Version: 10