!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
@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
@joerg:thalheim.ioMic92https://github.com/NixOS/nix/actions/runs/18333686106/job/52213704796?pr=14187#step:8:28 yet another unwrapped std::filesystem exception. 06:33:49
@lovesegfault:matrix.orglovesegfaultalright, with the CI changes done i've rebased the next little bit of the s3 work and it's ready for review: https://github.com/NixOS/nix/pull/1417015:12:13
@lovesegfault:matrix.orglovesegfaultwe're almost there now 🥳15:12:59
@siraben:matrix.orgsiraben joined the room.15:25:02
@siraben:matrix.orgsirabenLooking to gauge interest in the ability to break a nix store lock manually, what do people think? https://github.com/NixOS/nix/pull/13813 revisiting this PR right now15:25:17
@frontear:matrix.orgfrontear joined the room.15:36:50
@lovesegfault:matrix.orglovesegfault John Ericson: i saw your review comments on #14170 just now, but i don't get the motivation? why introduce this usernameAuth stuff? 15:45:23
@lovesegfault:matrix.orglovesegfaultare you thinking that something else will leverage that later?15:45:42
@Ericson2314:matrix.orgJohn Ericson lovesegfault: yes, something else might leverage it later, and also just trying to reduce the mount of stuff we have under the S3 ifdef 15:46:14

Show newer messages


Back to Room ListRoom Version: 6