!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-architecture52 Servers

Load older messages


SenderMessageTime
8 Mar 2024
@jade_:matrix.org@jade_:matrix.orgyeah21:15:59
@infinisil:matrix.orginfinisil programs.sqlite is an example, and it's really valuable 21:16:04
@infinisil:matrix.orginfinisil Here's a smallish project: Replace programs.sqlite with nix-index 21:16:29
@infinisil:matrix.orginfinisilWould deprecate https://github.com/Mic92/nix-index-database and give everybody a nix-index database by default21:16:50
@infinisil:matrix.orginfinisilWell, as long as you fetch channels and not git branches21:17:00
@jade_:matrix.org@jade_:matrix.orghm. channels have been killed, but we could make a hydra job for the nix-index of the current channel version.... or something?21:17:11
@jade_:matrix.org@jade_:matrix.orgwell21:17:14
@jade_:matrix.org@jade_:matrix.orgflakes have killed channels21:17:18
@jade_:matrix.org@jade_:matrix.orgwhether that was actually advisable or not is another question hehehe21:17:25
@infinisil:matrix.orginfinisil They only killed nix-channel! 21:17:28
@infinisil:matrix.orginfinisilChannels are still very much needed and alive21:17:36
@infinisil:matrix.orginfinisilWell not that much actually21:18:04
@jade_:matrix.org@jade_:matrix.org (nix-channel and the idea of mutable channels is like. genuinely Bad, but it would be nice if we could have postprocessed versions of nixpkgs instead of just source code, that are actually pinned) 21:18:11
@infinisil:matrix.orginfinisilAt least programs.sqlite clearly demonstrates that channels can have huge value. And flakes could make use of that too21:18:33
@infinisil:matrix.orginfinisil I like how npins supports channels natively 21:19:44
@infinisil:matrix.orginfinisil So if you do npins add channel nixpkgs-unstable and use the resulting Nixpkgs to build your NixOS system, you get an prebuilt always-up-to-date binary lookup for free! 21:20:20
@infinisil:matrix.orginfinisil Without nix-channel! 21:20:43
@ma27:nicht-so.sexyma27 joined the room.21:47:40
@tomberek:matrix.orgtomberek Apologies for the re-start of a topic, but regarding the mentions above for makeScope, I've experimented with a variant of it that can be used with nested attrsets that was quite pleasant to use (ie; the // was not destructive and allowed for adding things to pythonPackages in a composable manner). +1 on the topic of improving the usage of package sets. 22:48:13
@growpotkin:matrix.orgGrowpotkinPlease - let me split `makeScope` into reusable and well documented helpers. 22:50:15
@tomberek:matrix.orgtomberekand use them in Nixpkgs, to help make everything behave consistently? (asking for a friend ;) )22:51:29
@growpotkin:matrix.orgGrowpotkinThat function is THE CORE of `nixpkgs` and currently it's really really hard to grok. It legitimately took me like 6 months of fiddling with similar routines to realize "I just spent months rewriting `makeScope`, and now I actually understand what it was doing" 🤣 22:52:04
@growpotkin:matrix.orgGrowpotkinIt's a wicked useful routine and it's subparts are also incredibly useful in isolation. In nixpkgs the parts are always used as a single long pipe, but dream2nix, floco, and hella other `nix` frameworks have needed to rewrite subparts of `makeScope` because it's one pipe22:54:21
9 Mar 2024
@jade_:matrix.org@jade_:matrix.orgi had to stare it down to make a subsidiary scope of a customized pythonPackages. very wacky function, infinite appreciation to Valentin for getting a docs pr happening for it00:22:29
@raitobezarius:matrix.orgraitobezariusmaybe of note: https://github.com/NixOS/nixpkgs/pull/8738800:23:35
@raitobezarius:matrix.orgraitobezariusand I realize I missed to answer to Valentin's message here 🤦‍♂️00:23:43
@yinfeng:li7g.comYinfeng joined the room.02:27:52
@soispha:vhack.euBenedikt joined the room.15:38:13
10 Mar 2024
@fgaz:matrix.orgfgazFYI I'm working on a phorge package and module, hopefully I'll publish it soon06:46:24
@adis:blad.isadisbladisYou can't do that with Python specifically because of collisions07:00:34

Show newer messages


Back to Room ListRoom Version: 9