19 Sep 2025 |
| adamcstephens left the room. | 02:54:03 |
| adamcstephens joined the room. | 02:58:41 |
getchoo | once https://github.com/NixOS/experimental-nix-installer/pull/48 is merged, we’re either going to need a new release in the experimental installer repo, or actually upload regular artifacts from the ci builds | 07:05:14 |
getchoo | i think the latter would be good to add in any case…but looking at the current workflows, it’s kinda a mess IMO
i was wondering if everyone would be ok with a major refactoring of it all? mainly just making things a proper matrix job instead of having a ton of copy-pasted individual steps and workflows? | 07:06:06 |
getchoo | because honestly it would be easier for me than changing the same step like a dozen times lmao | 07:07:22 |
getchoo | but it’d also probably be better for any eventual merging into the main nix repo, or any other ci changes in the future | 07:07:48 |
getchoo | * once https://github.com/NixOS/experimental-nix-installer/pull/48 is merged, we’re either going to need a new release in the experimental installer repo, or actually upload regular artifacts from the ci builds to use it in nix’s installer tests | 07:08:24 |
Sergei Zimmerman (xokdvium) | In reply to @getchoo:matrix.org i think the latter would be good to add in any case…but looking at the current workflows, it’s kinda a mess IMO
i was wondering if everyone would be ok with a major refactoring of it all? mainly just making things a proper matrix job instead of having a ton of copy-pasted individual steps and workflows? 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? | 07:20:11 |
Sergei Zimmerman (xokdvium) | CI is a total mess and needs a major rework anyway. The matrix is too small, aarch64 Linux is not built and so on. | 07:24:22 |
Sergei Zimmerman (xokdvium) | In reply to @getchoo:matrix.org i think the latter would be good to add in any case…but looking at the current workflows, it’s kinda a mess IMO
i was wondering if everyone would be ok with a major refactoring of it all? mainly just making things a proper matrix job instead of having a ton of copy-pasted individual steps and workflows? Go for it in any case. The tests jobs could use some love.
Also it would be great to run NixOS tests with sanitizers on GHA and hydra. It’s almost wired up and just needs a proper matrix set up | 07:37:05 |
jaen | Any suggestions on that? Want to continue with the rebase this weekend, but had no time to think on how to resolve that. One odd-hand idea I didn't test is that this is being specified in the devshell: https://github.com/NixOS/experimental-nix-installer/blob/main/Cargo.toml#L74 https://github.com/NixOS/experimental-nix-installer/blob/main/flake.nix#L168 so maybe that envvar could be reused in the test? Didn't test that yet and not quite sure what the expectation of this tests is given that this profile does not exist on any of my NixOS machines — are my machines set up incorrectly or is the upstream installer making some weird assumption? Or maybe the test should create a temporary directory with a profile and pass that? Sorry if the answer is obvious, didn't really come across that particular issue before. | 11:58:24 |
John Ericson | fzakaria: https://github.com/NixOS/nix/pull/14023/files OK here is WIP thing | 16:14:15 |
John Ericson | Sergei Zimmerman (xokdvium): ^ this has one of the worst C++ errors I've every seen! | 16:14:29 |
John Ericson | I think my wrapper constructor for the std::variant class is shadowing a built-in constructor | 16:14:51 |
John Ericson | but also the template instation trace in the diagnostic is missing | 16:15:11 |
fzakaria | why does it need whoelStoreView | 16:15:25 |
John Ericson | so I can't tell how things are being invoked / ultimately from what | 16:15:27 |
John Ericson | for get getFSAccessor method | 16:15:40 |
John Ericson | maybe that should be changed so you can only ask the store for individual object source accessors | 16:15:55 |
John Ericson | but that is a separate refactor | 16:15:59 |
John Ericson | and that also may not work | 16:16:03 |
fzakaria | oh you merge it | 16:16:15 |
fzakaria | on every call to addtoStore | 16:16:32 |
John Ericson | yeah I am using shared pointers, but conceptually the std::map<StorePath, ....> owns the data | 16:16:39 |
fzakaria | why is it only addToStoreFromDump and not addToStore | 16:16:45 |
John Ericson | and the view is just splatting those together | 16:16:46 |
fzakaria | addToStore is unsupported | 16:16:57 |
John Ericson | simply because I didn't do the other methods yet | 16:16:58 |
fzakaria | oh | 16:17:06 |
fzakaria | ok | 16:17:07 |