!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

937 Members
For people hacking on the Nix package manager itself196 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
16 Sep 2025
@matthewcroughan:defenestrate.itmatthewcroughanbut the argument you pass it, is a path, not a file14:27:22
@matthewcroughan:defenestrate.itmatthewcroughan git+file:/home/foo is not a file, but this is necessary 14:27:35
@matthewcroughan:defenestrate.itmatthewcroughan it should be git+path:/home/foo 14:27:49
@dramforever:matrix.orgdramforever git calls it file https://git-scm.com/book/ms/v2/Git-on-the-Server-The-Protocols 14:32:20
@dramforever:matrix.orgdramforever i think path: is a nix invention... probably 14:33:06
@toonn:matrix.orgtoonn matthewcroughan: I meant as an extension of the file URI scheme, file:///some/path . 14:34:48
@getchoo:matrix.orggetchoo
In reply to @joerg:thalheim.io
by making it more specific
that’s what i was thinking
we could also iterate over the glob matches and use the first one that actually has a /bin/nix subpath as well to be a bit safer (since i really doubt the day will come where we have multiple nix binaries in the store during install)
16:51:32
@getchoo:matrix.orggetchoo* this worked before the component split in 2.29 since there would only be one main nix store path at this point, but now it matches the nix-main store path first, which doesn't have a bin dir or any of the nix binaries16:52:24
@joerg:thalheim.ioMic92
In reply to @getchoo:matrix.org
that’s what i was thinking
we could also iterate over the glob matches and use the first one that actually has a /bin/nix subpath as well to be a bit safer (since i really doubt the day will come where we have multiple nix binaries in the store during install)
Is this not just scanning the installation tarball rather the entire nix store?
20:22:46
@joerg:thalheim.ioMic92I haven't looked to deep into the code. 20:23:13

Show newer messages


Back to Room ListRoom Version: 6