!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

950 Members
For people hacking on the Nix package manager itself197 Servers

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


SenderMessageTime
5 Mar 2025
@Ericson2314:matrix.orgJohn EricsonYou can just do it recursively down the deriving path16:06:35
@Ericson2314:matrix.orgJohn EricsonIt's funny I didn't realize this before, because in a way I did: I was always frustrated making dyn drv examples that the "name felt so predetermined'16:07:14
@Ericson2314:matrix.orgJohn EricsonWell, lol, it was exactly pre-determined!16:07:33
@roberthensing:matrix.orgRobert Hensing (roberth)Nice. Don't be late because I nerd sniped you!16:08:00
@Ericson2314:matrix.orgJohn Ericson Based on this, I feel like both types of placeholders could look exactly like store paths, except for using a different hash character set to very subtly distinguish them 16:08:25
@Ericson2314:matrix.orgJohn Ericson I might be a little worried about that confusing humans, hah, who just glance at it 16:08:55
@Ericson2314:matrix.orgJohn EricsonBut it would be great for code in Nixpkgs that wants to look for name parts and and the store dir16:09:29
@roberthensing:matrix.orgRobert Hensing (roberth) Canonical JSON looks kinda good. Canonical, sorted, no floats. Strings are bytes, so not technically JSON. RFC 8785 is complicated and does not allow non-Unicode bytes 16:31:41
@emilazy:matrix.orgemily please don't use canonicalized JSON formats 16:42:10

Show newer messages


Back to Room ListRoom Version: 6