!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

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

Load older messages


SenderMessageTime
19 Sep 2025
@Ericson2314:matrix.orgJohn Ericsonwill try changing it16:18:24
@fzakaria:one.ems.hostfzakariai meant having 1 accessor but have it hide away the fact it's multiple; but maybe that doesn't matter once you do whatever subsequent refactor you meant16:19:00
@Ericson2314:matrix.orgJohn Ericsonoh ok16:19:21
@fzakaria:one.ems.hostfzakariai might epxlore after your work; the sqlite variant.... it's got a worm in my brain about it. I like that sqlite can do in-memory or also persist to a file.16:19:50
@Ericson2314:matrix.orgJohn Ericsondo you think that can be deduplicated with local store?16:24:57
@Ericson2314:matrix.orgJohn Ericsonit sounds quite complicated to me16:25:04
@Ericson2314:matrix.orgJohn EricsonI like this because it is very much a companion to the store section of the manual16:25:16
@Ericson2314:matrix.orgJohn Ericsonit implements the spec in the simplest/purest possible way16:25:23
@mkg20001:mkg20001.iomkg20001 changed their profile picture.17:22:34
@philiptaron:matrix.orgPhilip Taron (UTC-8)I noticed that no https://nix.dev/manual/nix/2.31 links, like https://nix.dev/manual/nix/2.31/language/builtins, work.23:27:26
@philiptaron:matrix.orgPhilip Taron (UTC-8)Is there some "release process" to nix.dev that was missed in the 2.31 cycle?23:27:42
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)https://github.com/NixOS/nix.dev/pull/116623:35:24
@philiptaron:matrix.orgPhilip Taron (UTC-8)ty, I am going to apply for commit access to nix.dev on the org site then23:43:03
@winter:catgirl.cloudWinternot a clue why those jobs aren’t running23:43:59
@philiptaron:matrix.orgPhilip Taron (UTC-8) As I read it, no one has pushed the merge button? 23:48:52
@winter:catgirl.cloudWinternone of the required status checks have passed23:49:40
@winter:catgirl.cloudWinterso even if i press the button, it won’t work23:49:51
@winter:catgirl.cloudWinter(as someone with theoretical button pressing powers)23:50:06
@winter:catgirl.cloudWinter * 23:50:21
@philiptaron:matrix.orgPhilip Taron (UTC-8)Close and reopen as Robert suggests?23:52:29
@philiptaron:matrix.orgPhilip Taron (UTC-8) https://github.com/NixOS/org/issues/170 23:54:06
20 Sep 2025
@winter:catgirl.cloudWinteri’m going to try that as it is a noop00:00:00
@winter:catgirl.cloudWinteryay!00:00:32
@winter:catgirl.cloudWinter Sergei Zimmerman (xokdvium) as the nix team member sounds right now, do you mind if i press the button once ci passes 00:01:45
@winter:catgirl.cloudWinter * @xokdvium:matrix.org as the nix team member around right now, do you mind if i press the button once ci passes 00:01:52
@getchoo:matrix.orggetchoo
In reply to @xokdvium:matrix.org
I would love to do this! Since I’m done with ASAN changes I’d love to work making the CI suck less. Would you like to pair up on this?
definitely :)
i was thinking of tackling the weird platform specific workflow files first. not sure where you’d want to go from there
00:21:08
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @getchoo:matrix.org
definitely :)
i was thinking of tackling the weird platform specific workflow files first. not sure where you’d want to go from there
I had a pretty crazy idea. How about we defined the workflow matrix in Nix? GHA can read a dynamically generated matrix from JSON. That would make stuff much easier
00:25:17
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @winter:catgirl.cloud
@xokdvium:matrix.org as the nix team member around right now, do you mind if i press the button once ci passes
Sure
00:25:57
@philiptaron:matrix.orgPhilip Taron (UTC-8) hell yeah it's there now 00:33:31
@getchoo:matrix.orggetchoo

i've done this a good number of times actually (https://github.com/getchoo/nix2workflow), but honestly...i think it might be a bit gimmicky

for me, the main friction between integrating gha with nix stuff is that it doesn't Just Work with nix - like hydra, hercules-ci, or buildbot-nix would. defining stuff with nix using json makes it a bit nicer since now i don't need to bounce between the workflow file and my nix code, but i'm still having a lot of glue code to get the two working, so i don't think it really solves that core problem, just makes it slightly less bad.

(sidenote: it's also obviously not a requirement of this concept, but anecdotally i've found ci to become pretty slow with the one job -> one attribute setup that i see most people use with it, unless it's a ton of heavy packages that don't share any dependencies)

nowadays i really think a good way to go for running nix stuff in gha is a simple nix flake check. it's basically what buildbot-nix does, doesn't really require any glue code, doesn't waste extra jobs/runners for each attribute, is easily reproducible locally, and should be even better once https://github.com/NixOS/nix/pull/13998 lands in a release

01:29:35

Show newer messages


Back to Room ListRoom Version: 6