!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

933 Members
For people hacking on the Nix package manager itself195 Servers

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


SenderMessageTime
30 Jul 2025
@magic_rb:matrix.redalder.orgmagic_rbSorry to interject, whats BCS15:16:00
@Ericson2314:matrix.orgJohn Ericsonbut so long as we're deciding "what goes in the drv file", the drvPath is that hash of that15:16:02
@Ericson2314:matrix.orgJohn Ericson magic_rb: from facebook's blockchain, it is basically concat the things to do products, use leb128 or whatever the variable thing is called to do enum tags for sums 15:16:40
@Ericson2314:matrix.orgJohn Ericsonit is a formalization of sort of the "obvious" way to do binary representations of algebraic data types15:17:12
@Ericson2314:matrix.orgJohn Ericsonno string tags, no self description, everything is ordered (products have a left side and right side, the variants of the sum types are totally ordered and assigned 0 1 2 3 4....)15:17:52
@Ericson2314:matrix.orgJohn Ericsonit is basically what you would get on the heap too, except there is no padding/alignment, so you can't just cast it captn-proto style in general15:18:19
@Ericson2314:matrix.orgJohn Ericson* it is basically what you would get on the heap (if no pointers) too, except there is no padding/alignment, so you can't just cast it captn-proto style in general15:19:00
@magic_rb:matrix.redalder.orgmagic_rbIll read up more on it, its good to know about this stuff, for when you need a binary format15:20:03

Show newer messages


Back to Room ListRoom Version: 6