!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
14 Aug 2025
@emilazy:matrix.orgemilywould be nice to have17:06:59
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nix/pull/1301317:15:38
@emilazy:matrix.orgemilyjoy17:15:40
@emilazy:matrix.orgemilydoes anyone else feel like backporting that so I don't spend literally all day dealing with overflow bugs :P17:17:40
@jade_:matrix.orgjade_https://github.com/orgs/NixOS/teams/lix-maintainers/members done17:18:37
@jade_:matrix.orgjade_woof. yeah i can do it17:18:55
@emilazy:matrix.orgemily the srclix rename is tremendously annoying for Nix backports because of Git's broken handling of renames. can't wait for Jujutsu's rebase algorithm to handle moves/copies. 17:19:52
@emilazy:matrix.orgemilydoes anyone have any tricks that they use to make it not be useless at that17:20:13
@emilazy:matrix.orgemily I tried merge.directoryRenames 17:20:31
@charles:computer.surgeryCharlesi wonder if a similar trick for cherry-picking across formatting changes would help?17:21:10
@emilazy:matrix.orgemily yeah, but it would require jj run rather than jj fix sadly 17:21:43
@emilazy:matrix.orgemilymaybe a Git mergetool could do it but I don't feel like writing one of those17:21:51
@emilazy:matrix.orgemilyI guess I can just duplicate, move, rebase, but ugh17:22:01
@charles:computer.surgeryCharles🪦17:22:48
@jade_:matrix.orgjade_ yeah. idk. i find so many bugs in code review of stuff that got accepted by cppnix that i think that most code has to be rewritten anyway. i think it's possible to rename the directory in a commit that you can base the cherry-picked one on, or something like that. 17:25:50
@jade_:matrix.orgjade_for example, i found straight up wrong code in here (in addition to error messages that refer to concepts that only exist in C++ and not in user facing places) i am still happy to port the fix, but it's going to experience some rewrites17:27:16
@emilazy:matrix.orgemilyI don't think your review is right17:28:07
@emilazy:matrix.orgemilybecause that is a float17:28:12
@emilazy:matrix.orgemilythe whole problem is that it is going via floats, so it has float limits17:28:26
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to ping
In reply to @emilazy:matrix.org
you can't --accept-tests a change from an eval failure to success or vice versa
You should be able to iirc, if that actually doesnt work, create an issue and ill make it work
17:28:43
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingOh wsit17:28:58
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingYeah no17:29:01
@commentator2.0:elia.gardenRutile (Commentator2.0) feel free to pingNvm is a different runner not just different output17:29:14
@jade_:matrix.orgjade_oh yes, you're right. i hate implicit conversions (code style issue in this code imo)17:30:55
@emilazy:matrix.orgemilyI'm just saying, missing things in code review is a general phenomena :p17:31:54
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @jade_:matrix.org
for example, i found straight up wrong code in here (in addition to error messages that refer to concepts that only exist in C++ and not in user facing places) i am still happy to port the fix, but it's going to experience some rewrites
FWIW we are running UBSAN in CI for some time now, so signed overflow should be caught (modulo compiler quirks)
17:51:49
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Test coverage is another matter though17:52:56
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Does Lix track code coverage in CI?17:54:32
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)(Not a panacea but quite useful)17:55:05
@jade_:matrix.orgjade_ I don't think we have tracking of it per se because our tests run in nix, but we probably could, in principle. 18:13:31

Show newer messages


Back to Room ListRoom Version: 10