!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

223 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture49 Servers

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


SenderMessageTime
17 Feb 2024
@qyriad:matrix.org@qyriad:matrix.orgOh this looks fantastic 👀19:32:45
20 Feb 2024
@szlend:matrix.orgszlend joined the room.18:59:04
@szlend:matrix.orgszlend changed their display name from siyo to szlend.19:00:36
@szlend:matrix.orgszlend What's the purpose of the callPackage pattern really? Why does it expect a subset of packages as opposed to simply being the entire pkgs? Is it just so it can accept custom attributes? Some sort of performance reasons? 20:21:38
@szlend:matrix.orgszlendI know it does splicing as well, but that wasn't there originally right20:22:49
@k900:0upti.meK900It's a bit of a historical artifact20:23:12
@k900:0upti.meK900It doesn't really need to exist20:23:44
@Minijackson:matrix.orgMinijackson right now, I think callPackage allows us to do overrides, and things like withFeature ? true 20:26:22
@szlend:matrix.orgszlendI see yeah, I've always just found the pattern inconvenient. I'd basically have to name all the packages twice. If I no longer needed one, I would forget to remove it from the function arguments. When I started with nix I always assumed it was the way to track dependencies between packages, but that's obviously not how it works.20:27:01

Show newer messages


Back to Room ListRoom Version: 9