!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

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

Load older messages


SenderMessageTime
22 Oct 2025
@tomberek:matrix.orgtomberekI suspect this can get better with lazy paths/trees, but that seems to be further in the future.15:28:00
@roberthensing:matrix.orgRobert Hensing (roberth) the basic question seems to be: do we want to trust the lock file, and I think usually the answer is yes, final = true; 15:29:24
@roberthensing:matrix.orgRobert Hensing (roberth)if you can't trust your lock file, you're either editing it by hand, which you shouldn't do, or letting people you don't trust update, which you know, you'd have bigger problems15:29:52
@roberthensing:matrix.orgRobert Hensing (roberth) I feel like true should probably be the default in a future version of this primop if we have one 15:30:55
@roberthensing:matrix.orgRobert Hensing (roberth) anyway, making final part of the public interface seems fine to me 15:31:52
@roberthensing:matrix.orgRobert Hensing (roberth)iirc a lazier fetchTree would be a mitigation for the performance loss but not a complete fix15:32:17
@tomberek:matrix.orgtomberekWould it make sense for the final to be default if fetchTree has been given enough attributes? (If provided with all the info.)15:43:55
23 Oct 2025
@lovesegfault:matrix.orglovesegfault

First batch of small PRs to enable multipart uploads:

cc. John Ericson Sergei Zimmerman (xokdvium)

02:29:28
@lovesegfault:matrix.orglovesegfaultThese are all tiny so it should be easy to review and merge. If you want to see the big picture, look at https://github.com/NixOS/nix/pull/1433002:30:43
@fzakaria:one.ems.hostfzakariaI finished the Kaitai spec04:21:54
@fzakaria:one.ems.hostfzakariahttps://github.com/fzakaria/nix-nar-kaitai-spec04:21:55
@fzakaria:one.ems.hostfzakariait has test suite also04:21:59
@lovesegfault:matrix.orglovesegfault y'all why is Headers not a map 06:28:04
@lovesegfault:matrix.orglovesegfaultseems strange to use a vec of pair and force me to scan 06:28:21
@joerg:thalheim.ioMic92I did some more work over the last weekend on the installer: https://github.com/NixOS/experimental-nix-installer/pull/51 i hopefully get ci green again this weekend and than i can do some more tests. 09:56:46
@roberthensing:matrix.orgRobert Hensing (roberth)is it possible to generate streaming parsers too?12:55:08
@roberthensing:matrix.orgRobert Hensing (roberth)iirc http does not require unique headers, but that's only a reason to keep an additional vector around, if at all13:46:08
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @roberthensing:matrix.org
iirc http does not require unique headers, but that's only a reason to keep an additional vector around, if at all
Multi map exists
15:08:34
@fzakaria:one.ems.hostfzakariaI will ask.15:47:42
@roberthensing:matrix.orgRobert Hensing (roberth)oh cool, thanks! I guess it could be pull based or visitor-like, or generate both15:51:39
@fzakaria:one.ems.hostfzakariai don't see it in the current API but the generator has a few flags. They call the API 'stream' lol https://doc.kaitai.io/stream_api.html15:53:25
@fzakaria:one.ems.hostfzakariamaybe it is streaming and on-demand serialization15:53:41
@fzakaria:one.ems.hostfzakariai will test it on the Linux demo.15:53:46
@fzakaria:one.ems.hostfzakaria* i will test it on the Linux git repo demo.15:53:52
@roberthensing:matrix.orgRobert Hensing (roberth)ah, that's their low level I/O thing that is consumed by the generated code, I think?15:55:18
@roberthensing:matrix.orgRobert Hensing (roberth) pull and visitor may be good names for modules that do that kind of thing 15:56:16
@fzakaria:one.ems.hostfzakariaI used this cpp library which was nice. https://github.com/NixOS/nixpkgs/pull/454770 I sponsor @jart on Github.16:01:30
@roberthensing:matrix.orgRobert Hensing (roberth)fast? nice16:03:41
@fzakaria:one.ems.hostfzakaria

also small so i can audit it

nlohmann's json.h has 24,766 lines of code. Our json.h has 233 lines of code, and our json.cpp file has 1,303 lines.

16:04:32
@fzakaria:one.ems.hostfzakariaoh there is an "no-auto-read" option16:27:41

Show newer messages


Back to Room ListRoom Version: 6