!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

424 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.141 Servers

Load older messages


SenderMessageTime
18 Mar 2026
@blokyk:matrix.orgzoë (she/her) hi, i recently got a review on one of my CLs (by eldritch horrors / pennae but they're not in this room ;-;), about using std::next to traverse a nix::Generator<T>, but i'm not very good with c++ so i'm not sure how to do that, since it seems that nix::Generator<T>.next returns a custom iterator implementation that differs from c++'s 12:20:03
@blokyk:matrix.orgzoë (she/her) * hi, i recently got a review on one of my CLs (by eldritch horrors / pennae but they're not in this room ;-;), about using std::next to traverse a nix::Generator<T>, but i'm not very good with c++ so i'm not sure how to do that, since it seems that nix::Generator<T>.next returns a custom iterator implementation that differs from c++'s
(specifically, writing either std::next(gen.next()) or std::next(gen) gets me Candidate template ignored: substitution failure [with _InputIterator = iterator]: argument may not have 'void' type)
12:21:50
@blokyk:matrix.orgzoë (she/her) * c++ noob time: hi, i recently got a review on one of my CLs (by eldritch horrors / pennae but they're not in this room ;-;), about using std::next to traverse a nix::Generator<T>, but i'm not very good with c++ so i'm not sure how to do that, since it seems that nix::Generator<T>.next returns a custom iterator implementation that differs from c++'s
(specifically, writing either std::next(gen.next()) or std::next(gen) gets me Candidate template ignored: substitution failure [with _InputIterator = iterator]: argument may not have 'void' type)
12:27:21
@qyriad:katesiria.orgQyriadThat comment is non-blocking (it's marked as "Resolved"), so it's not a huge issue if you can't figure that out12:27:19
@qyriad:katesiria.orgQyriad But the comment does also specify that it would have to be something like std::next(traces.begin(), requestTraceIdx) 12:28:03
@blokyk:matrix.orgzoë (she/her) yeah i saw but i figured i'd like to do it anyways, since that loop is quite weird to me 12:28:10
@blokyk:matrix.orgzoë (she/her)yeah yeah i also tried that (the second arg is optional and defaults to 1), i simplified it for the comment but i'll edit it12:28:55
@blokyk:matrix.orgzoë (she/her) * c++ noob time: hi, i recently got a review on one of my CLs (by eldritch horrors / pennae but they're not in this room ;-;), about using std::next to traverse a nix::Generator<T>, but i'm not very good with c++ so i'm not sure how to do that, since it seems that nix::Generator<T>.next returns a custom iterator implementation that differs from c++'s
(specifically, writing either std::next(gen.next(), idx) or std::next(gen, idx) gets me Candidate template ignored: substitution failure [with _InputIterator = iterator]: argument may not have 'void' type)
12:29:05
@raitobezarius:matrix.orgraitobezariusFYI, it's easier to reach out for development discussions over zulip.lix.systems ; if you plan to contribute more actively, I recommend joining it :)13:09:34
@blokyk:matrix.orgzoë (she/her)i've already made an account for it (because for some reason i couldn't join the matrix spaces before), but i'm not too good in more formal environments (at least to me zulip feels more formal) ;-; and i think the amount of things i can contribute given my skillset is not gonna be very high, especially given the time constraints i'll be in soon enough x)13:11:46
@blokyk:matrix.orgzoë (she/her)anyway, i hesitated doing that this time, but i'll do it next time then :)13:12:16
@blokyk:matrix.orgzoë (she/her)* anyway, i hesitated doing that this time, but i'll do it next time then, thanks for the clarification :)13:12:22
@raitobezarius:matrix.orgraitobezariusi'd say zulip is meant to make conversations more structured to help us to help you or help yourselves follow what you care about on a development level13:15:46
@raitobezarius:matrix.orgraitobezarius(sure, it's less tolerant of offtopics tangents but that's a feature :P)13:16:01
@raitobezarius:matrix.orgraitobezariusbut no problem, this was just an invitation13:17:07
@blokyk:matrix.orgzoë (she/her)i saw on the wiki you were talking about maybe retiring the matrix anyway given the infrastructure problems with it (though i'd be sad to see it go given my reasons above), so i guess i might have to get used to zulip at some point :p13:17:40
@piegames:flausch.socialpiegamesAs per the recent meeting on this, Matrix will stay with a slightly reduced channel list13:39:22
@blokyk:matrix.orgzoë (she/her) (i wasn't sure what zulip channel would be best for this ;-;) is there anyway to re-launch the CI for a CL? i'm pretty sure the devShell and clang-tidy failures are just flaky ci, especially given the error messages and the fact that other pipelines (incl. on the same platform) were completely fine.
the contributing wiki for the ci says "just login to restart the build" but i don't have the access level for it.
22:31:12
@blokyk:matrix.orgzoë (she/her) * (i wasn't sure what zulip channel would be best for this ;-;) is there anyway to re-launch the CI for a CL? i'm pretty sure the devShell and |clang-tidy](https://buildkite.com/afnix/lix/builds/966/summary?sid=019d01d2-d404-41ec-a6c1-df3836789413&tab=output) failures are just flaky ci, especially given the error messages and the fact that other pipelines (incl. on the same platform) were completely fine.
the contributing wiki for the ci says "just login to restart the build" but i don't have the access level for it.
22:32:07
@blokyk:matrix.orgzoë (she/her) * (i wasn't sure what zulip channel would be best for this ;-;) is there anyway to re-launch the CI for a CL? i'm pretty sure the devShell and clang-tidy failures are just flaky ci, especially given the error messages and the fact that other pipelines (incl. on the same platform) were completely fine.
the contributing wiki for the ci says "just login to restart the build" but i don't have the access level for it.
22:32:29
@blokyk:matrix.orgzoë (she/her) set a profile picture.22:36:46
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @blokyk:matrix.org
(i wasn't sure what zulip channel would be best for this ;-;) is there anyway to re-launch the CI for a CL? i'm pretty sure the devShell and clang-tidy failures are just flaky ci, especially given the error messages and the fact that other pipelines (incl. on the same platform) were completely fine.
the contributing wiki for the ci says "just login to restart the build" but i don't have the access level for it.
Can’t you force-push an amended commit without any diff? That should do the trick I think
22:38:50
@blokyk:matrix.orgzoë (she/her) nah, that's what i did and it noticed that no code actually changed so it didn't re-run it 22:39:55
@piegames:flausch.socialpiegames
In reply to @blokyk:matrix.org
(i wasn't sure what zulip channel would be best for this ;-;) is there anyway to re-launch the CI for a CL? i'm pretty sure the devShell and clang-tidy failures are just flaky ci, especially given the error messages and the fact that other pipelines (incl. on the same platform) were completely fine.
the contributing wiki for the ci says "just login to restart the build" but i don't have the access level for it.
You can get permissions if you ask, though I forgot where to ask 🙃
23:09:39
@raitobezarius:matrix.orgraitobezarius
In reply to @xokdvium:matrix.org
Can’t you force-push an amended commit without any diff? That should do the trick I think
Code changes are required for that
23:11:32
@raitobezarius:matrix.orgraitobezariusThe CI is smart (still dumb) :p23:11:42
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @raitobezarius:matrix.org
Code changes are required for that
Change one character and change back works?
23:12:04
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Or does the source hash get memoised? (Just curious)23:12:43
@raitobezarius:matrix.orgraitobezariusGerrit understands the kinds of delta a patchset23:14:19
@raitobezarius:matrix.orgraitobezariusA NO_CODE_CHANGE won't trigger CI23:14:35

Show newer messages


Back to Room ListRoom Version: 10