!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

902 Members
For people hacking on the Nix package manager itself191 Servers

Load older messages


SenderMessageTime
4 Mar 2025
@atoix:matrix.orgatoixHas anyone been using uv2nix for packaging Python apps? I tried replacing poetry2nix with uv2nix and cant get it to work.12:16:06
@k900:0upti.meK900 #pyproject.nix:blad.is is the room for that 12:17:47
@lassulus:lassul.uslassulus changed their profile picture.17:48:12
@Ericson2314:matrix.orgJohn Ericson that sounds good, but is also funny because I was thinking about the opposite --- leaving the sandboxing code in C++ and the nuking all the other C++ it doesn't need 21:01:00
@Ericson2314:matrix.orgJohn Ericson * that sounds good, but is also funny because I was thinking about the opposite --- leaving the sandboxing and builder running code in C++ and the nuking all the other C++ it doesn't need 21:01:36
@Ericson2314:matrix.orgJohn Ericson Las: xokdvium say hi! 21:01:54
@Ericson2314:matrix.orgJohn Ericsonsince I have pinged you both about the goal reworking21:02:05
@Las:matrix.orgLashi again21:02:09
@Ericson2314:matrix.orgJohn EricsonI am not quite sure how to divvy up the work, but I am quite sure there is plenty all 3 of us 😅21:02:51
@Ericson2314:matrix.orgJohn Ericson * I am not quite sure how to divvy up the work, but I am quite sure there is plenty for all 3 of us 😅21:02:56
@Ericson2314:matrix.orgJohn Ericson (the exact sandboxing / running code is a bit of a delicate thing I am inclined to poke gently, leaving mostly as a black box, per the above. The goal logic however I am pretty sure is junked up and I am quite happy to take an axe to it :). Thanks to Las's coroutines reworking is is easier to refactor now too) 21:04:40
@Ericson2314:matrix.orgJohn Ericson * (the exact sandboxing / running code is a bit of a delicate thing I am inclined to poke gently, leaving mostly as a black box, per the above. The goal logic however I am pretty sure is junked up and I am quite happy to take an axe to it :). Thanks to Las's coroutines reworking it is easier to refactor now too) 21:05:08
@Ericson2314:matrix.orgJohn Ericson one way to go about it would be to duplicate DerivationGoal for the plane-build/repair/check cases, and then factor out the commonalities from first principles. but it is a bit of a scary large 3x code explosion in the interim 21:06:20
@Ericson2314:matrix.orgJohn Ericsonhttps://github.com/NixOS/nix/issues/12607 here is one other thing that is unrelated to CA / dyn-drv, and so lower priority for me, but a fun one-off project to tackle if anyone is interested21:14:25
5 Mar 2025
@picnoir:alternativebit.frPicnoirHey! There's a deriver field in the internal DB ValidPaths table. After a brief look in the source, I can see it populated from the narinfos for substitutions and from the builders for local builds. I see that it's sometimes omitted, but can't pinpoint where it's omitted and why it can be omitted.08:23:09
@picnoir:alternativebit.frPicnoirAre there cases where some builds don't have drv files? Do anybody here happen to know why some validpaths seem not to have derivers?08:23:45
@sinan:sinanmohd.comsinan changed their profile picture.08:25:27
@kranzes:matrix.orgIlan Joselevich (Kranzes) Hah, this valid paths thing 08:35:27
@kranzes:matrix.orgIlan Joselevich (Kranzes) there's a couple of issues about it 08:35:47
@kranzes:matrix.orgIlan Joselevich (Kranzes)I remember that we also were confused about that when working on tvix08:36:44
@kranzes:matrix.orgIlan Joselevich (Kranzes)Let me try to hunt down the notes08:37:01
@picnoir:alternativebit.frPicnoirThanks :)08:37:33
@flokli:matrix.orgflokliI think not all narinfos in cache.nixos.org have a deriver set, and even less have the drv itself uploaded in the binary cache too.08:37:54
@picnoir:alternativebit.frPicnoirDo you know why the deriver is not set? Is it related to the drv file being uploaded to the cache or not (if I remember correctly, there's a flag in the nix config for that)?08:39:19
@picnoir:alternativebit.frPicnoir* Do you know why the deriver is not set? Is it depending of the drv file being uploaded to the cache or not (if I remember correctly, there's a flag in the nix config for that)?08:39:36
@picnoir:alternativebit.frPicnoir* Do you know why the deriver is not set? Is it depending on the drv file being uploaded to the cache or not (if I remember correctly, there's a flag in the nix config for that)?08:39:55
@flokli:matrix.orgflokliIt might be a hydra setting 08:41:57
@flokli:matrix.orgflokliI'm not entirely sure, sorry 08:42:05
@kranzes:matrix.orgIlan Joselevich (Kranzes)i suddenly dont remember if the valid paths thing is the same as the valid = true field08:43:26
@picnoir:alternativebit.frPicnoirHmm, could this be related to builtins 🤔08:44:40

Show newer messages


Back to Room ListRoom Version: 6