!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

853 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.179 Servers

Load older messages


SenderMessageTime
7 Oct 2025
@lovesegfault:matrix.orglovesegfaulti don't want to be blocked on ci for the s3 work to land23:35:37
@lovesegfault:matrix.orglovesegfaulti need to be done with this stuff, it's been almost two months23:36:08
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yeah sure, let me see what we can do about enabling your work23:36:08
@lovesegfault:matrix.orglovesegfaulti'm worried shifting prios at work will force me to just drop it entirely, which would be a shame 23:36:38
@lovesegfault:matrix.orglovesegfaultfor me at least, i've loved working on this stuff23:36:45
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Eh, I guess we can go ahead and clean that up later :)23:36:47
@lovesegfault:matrix.orglovesegfaulti'll time box fixing ci to tonight23:37:10
@lovesegfault:matrix.orglovesegfaultbut let me give it a shot at least23:37:30
@lovesegfault:matrix.orglovesegfaulti want to leave things better than i found them 23:37:36
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Merged for now :) Sorry for being a pain. We can do incremental improvements23:39:11
@lovesegfault:matrix.orglovesegfaultnot a pain at all, i share your goals and concerns here :) 23:39:31
@lovesegfault:matrix.orglovesegfaultbtw, does this help with perf concerns? https://github.com/NixOS/nix/pull/14171/files#diff-d6730623c42446aa1f33e3177f7146d342ca8d5103e0814bb0b7ac212af5576dR90-R9923:41:43
@lovesegfault:matrix.orglovesegfaultidk if the str scan is fast enough to help23:41:54
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)I was thinking that we could just special-case '.' and '..': '.' does nothing and '..' does a pop. Also I don't think the rhs of this operator is ever supposed to have a '/' there23:43:07
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) I see you've added the tests for such cases, but isn't that supposed to be handled by CanonPath::extend? 23:45:46
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)

There's the comment:

    /**
     * Add a path component to this one. It must not contain any slashes.
     */
23:46:27
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Maybe the right thing is to instead fix the user code?23:46:38
@lovesegfault:matrix.orglovesegfault i wasn't sure what could end up there realistically, just wanted to avoid having that weird assert thrown at users 23:46:50
@lovesegfault:matrix.orglovesegfaultyeah, okay, maybe we only handle dots 23:46:57
@adam:robins.wtf@adam:robins.wtf left the room.23:48:18
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) Also maybe it's the downstream code that needs fixing. I think the idea for CanonPath (and this function) was to not accept . .. at all 23:48:19
@lovesegfault:matrix.orglovesegfaultthat i'm not sure about. I'll do your idea of special-casing ./.. and we can bring it up in the next meeting?23:48:55
@lovesegfault:matrix.orglovesegfaultdone23:54:15
@lovesegfault:matrix.orglovesegfaultnow onto the ci work23:54:41
8 Oct 2025
@lovesegfault:matrix.orglovesegfaultoh, that was easy00:03:18
@lovesegfault:matrix.orglovesegfaulti think00:03:20
@lovesegfault:matrix.orglovesegfaulthttps://github.com/NixOS/nix/pull/1418400:05:40
@lovesegfault:matrix.orglovesegfault Sergei Zimmerman (xokdvium): i think i achieved what you wanted, unless you wanted there to only be one allTests attrset that has componentTests and vmTests 00:11:17
@lovesegfault:matrix.orglovesegfaultnice, addressing the review00:13:22
@joerg:thalheim.ioMic92 @xokdvium:matrix.org: you will notice something about this merge: https://github.com/NixOS/nix/pull/14180 04:02:51

Show newer messages


Back to Room ListRoom Version: 6