!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

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

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


SenderMessageTime
20 Feb 2024
@k900:0upti.meK900One thing callPackage does that you can't get with just mkOverrideable and ... patterns is checking for invalid arguments20:28:24
@k900:0upti.meK900 Because e.g. ({ stdenv, foo, bar, ... }: { ... }) { stednv = ...; } is not an error 20:28:54
@k900:0upti.meK900 (same with override) 20:29:13
@szlend:matrix.orgszlend Personally I wish it was something more like ({pkgs, pythonPackages, crane}: ...). Basically package sets as inputs. Not sure where the extra args would fit in, but I always found it weird to mix these 20:33:40
@k900:0upti.meK900That style would be harder to override20:34:04
@Minijackson:matrix.orgMinijackson there was a proposition by amjoseph to pass pkgsOnBuild, pkgsOnHost, and so on: https://github.com/NixOS/nixpkgs/issues/227327 20:35:04
@Minijackson:matrix.orgMinijacksonmakes cross-compilation much better, overriding much harder20:35:24
@k900:0upti.meK900Yeah that's basically just the no splicing proposal20:35:34
@szlend:matrix.orgszlendGetting rid of is literally my #1 nixpkgs wishlist20:35:42
@szlend:matrix.orgszlend * Getting rid of splicing is literally my #1 nixpkgs wishlist20:35:48

Show newer messages


Back to Room ListRoom Version: 9