!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

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

Load older messages


SenderMessageTime
6 Feb 2023
@blaggacao:matrix.org@blaggacao:matrix.orgI feel also really uncomfortable that we discuss this here, off topic. Apologies to everybody!22:06:31
@blaggacao:matrix.org@blaggacao:matrix.org left the room.22:06:43
7 Feb 2023
@Ericson2314:matrix.orgJohn Ericsonhttps://discourse.nixos.org/t/adding-pkg-config-metadata-to-nixpkgs-packages/2528104:21:58
@sandro:supersandro.deSandro 🐧
In reply to @Ericson2314:matrix.org
https://discourse.nixos.org/t/adding-pkg-config-metadata-to-nixpkgs-packages/25281
The design of this seems really rushed to me. Immediately several people noted the boiler platy parts and why it doesn't happen automatically when meta.pkgConfigModules is provided.
12:16:26
@sandro:supersandro.deSandro 🐧also on a side note: pkgConfigModules looks kinda strange in camel.12:16:45
@Ericson2314:matrix.orgJohn Ericson Sandro 🐧: to be clear that is not an official project of this Nixpkgs Arch team 12:33:08
@sandro:supersandro.deSandro 🐧 we can also move this discussion to #dev:nixos.org 14:39:21
9 Feb 2023
@alex.shpilkin:matrix.orgalexshpilkin joined the room.01:57:07
13 Feb 2023
@roberthensing:matrix.orgRobert Hensing (roberth)I'll probably be late to today's meeting15:20:06
@roberthensing:matrix.orgRobert Hensing (roberth)feel free to start15:20:14
@infinisil:matrix.orginfinisil @room: The next meeting will take place in ~10 minutes, we'll discuss RFC 140, in particular the naming of the pkg-fun.nix file - meeting link - live stream - meeting notes 15:20:46
@infinisil:matrix.orginfinisil growpotkin ( Alex Ameen ): John Ericson: Joining? 15:32:27
16 Feb 2023
@bjth:matrix.orgBryan Honof changed their profile picture.14:22:25
17 Feb 2023
@kevincox:matrix.orgkevincox changed their profile picture.20:32:15
@kevincox:matrix.orgkevincox changed their profile picture.20:33:27
19 Feb 2023
@ronnypfannschmidt:matrix.org@ronnypfannschmidt:matrix.org

would it make sense to make a option type that would allow attrset of derivations or list of derivations for the packages options

{pkgs, ...}: environment.systemPackages ={ inherit (pkgs) qtpass }

imho this would feel more natural than using the dotted notion or attrValues, while avoiding the pitfall of the with statement

12:19:06
@infinisil:matrix.orginfinisil Ronny: An option type for that already exists, attrsOf package. The bigger issue is backwards compatibility and maybe a way to still use lists but have them be coerced to an attribute set 13:22:36
@infinisil:matrix.orginfinisilBut I 100% agree that we should be able to specify packages using attribute sets13:23:34
@ronnypfannschmidt:matrix.org@ronnypfannschmidt:matrix.org
In reply to @infinisil:matrix.org
Ronny: An option type for that already exists, attrsOf package. The bigger issue is backwards compatibility and maybe a way to still use lists but have them be coerced to an attribute set

i specifically meant a option type that will allow both lists and attrsets and coerce them into lists, for merge

my understanding is that same name packages in different sets are possible when they dont actually conflict

13:25:21
@infinisil:matrix.orginfinisil Ronny: Coercing to a list won't have any of the benefits of attribute sets though 13:26:32
@infinisil:matrix.orginfinisilOne of the main ones being the ability to remove a package13:26:57
@ronnypfannschmidt:matrix.org@ronnypfannschmidt:matrix.orgremoval is currently not possible anyway as far as i understood imho a good starting point is to etablish using attr sets early and as default so people can migrate to using the better syntax and once the majority o usages are changed its time to enable extra features nontheless it seems potentially terrifying if other modules are allowed to remove packages of the sets13:30:02
@infinisil:matrix.orginfinisil Ronny: If we can coerce from lists to attribute sets there will be no need for attribute set syntax though, while still getting the benetifs of attribute sets. And the implementation can indeed work by using either the package name as an attribute name, or using the attribute path to the package (a bit harder) 13:40:34
@infinisil:matrix.orginfinisil
In reply to @ronnypfannschmidt:matrix.org
removal is currently not possible anyway as far as i understood imho a good starting point is to etablish using attr sets early and as default so people can migrate to using the better syntax and once the majority o usages are changed its time to enable extra features nontheless it seems potentially terrifying if other modules are allowed to remove packages of the sets
This is already the case though, all modules can do anything to the system id they want to, they all have root access so to speak
13:41:28
@infinisil:matrix.orginfinisil
In reply to @ronnypfannschmidt:matrix.org
removal is currently not possible anyway as far as i understood imho a good starting point is to etablish using attr sets early and as default so people can migrate to using the better syntax and once the majority o usages are changed its time to enable extra features nontheless it seems potentially terrifying if other modules are allowed to remove packages of the sets
* Regardjng allowing modules tk remove options: This is already the case though, all modules can do anything to the system id they want to, they all have root access so to speak
13:42:22
@infinisil:matrix.orginfinisil(Damn, made a lot of typos on my phone in the train, but the matrix client somehow doesn't let me edit multiple times)13:44:24
20 Feb 2023
@roberthensing:matrix.orgRobert Hensing (roberth)
In reply to @infinisil:matrix.org
Regardjng allowing modules tk remove options: This is already the case though, all modules can do anything to the system id they want to, they all have root access so to speak
Imports into submodules don't, unless they're facilitated to do such things by a module that interacts with the submodule (usually the module that declares the submodule)
11:25:41
@infinisil:matrix.orginfinisil @room: The next meeting will take place in ~10 minutes - meeting link - live stream - meeting notes 15:23:00
@infinisil:matrix.orginfinisil tomberek: growpotkin ( Alex Ameen ) Pairing time :) 16:47:16
@roberthensing:matrix.orgRobert Hensing (roberth)nice performance improvement and cleanup: https://github.com/NixOS/nixpkgs/pull/21724323:09:28

Show newer messages


Back to Room ListRoom Version: 9