!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

227 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
21 Jul 2022
@Ericson2314:matrix.orgJohn Ericsonand try to standardize that between guix and us14:14:36
@infinisil:matrix.orginfinisilNot sure if I get the main problem here. Is it something like eval time vs build time computation?14:14:36
@qyliss:fairydust.spaceAlyssa RossNoble cause, but is it relevant to stdenv?14:14:43
@qyliss:fairydust.spaceAlyssa Rossor setup hooks vs builders?14:15:10
@Ericson2314:matrix.orgJohn Ericsonif we have more experimentaiton but interopt at the higher level, we can have "farm teams" trying out ideas and Nixpkgs can pick the best ones14:15:17
@infinisil:matrix.orginfinisilAnd setup hooks are currently build time, but because of that it doesn't allow eval time inspection? And how does that relate to wrapping? Can't there be eval or build time wrapping?14:15:31
@Ericson2314:matrix.orgJohn Ericson * if we have more experimentaiton but interopt at the higher level, we can have "farm teams" trying out ideas and Nixpkgs can pick the best ones. That's how they connect.14:16:15
@j-k:matrix.orgj-k
In reply to @Ericson2314:matrix.org
and try to standardize that between guix and us

makes me think of the modularity discussed in tvix but IDK if there has been much progress there

https://tvl.fyi/blog/rewriting-nix

14:17:07
@Ericson2314:matrix.orgJohn Ericsonthey are still doing things I understand, but yes this should be driven by the foundation14:18:46
@Ericson2314:matrix.orgJohn Ericsonit is some technological work but also more importantly believing that multiple approaches is good, vs everyone must use exprs or flakes or whatever14:19:21
@Ericson2314:matrix.orgJohn EricsonI do think nickle or hnix or something will give us types 14:20:02
@Ericson2314:matrix.orgJohn Ericsonnot C++ nix14:20:09
@Ericson2314:matrix.orgJohn Ericson and then we'll really be able to refactor nixpkgs 14:20:17
@infinisil:matrix.orginfinisilI think this is approaching off-topic territory :)14:21:07
@j-k:matrix.orgj-kI think there are still some easier wins within our grasp for improving nixpkgs itself but I do generally agree with the changes you want for nix itself14:21:27
@infinisil:matrix.orginfinisil John Ericson: What do you think of having a call to just pick your brains on how the current stdenv needs to be redesigned and how to go about that? 14:22:46
@Ericson2314:matrix.orgJohn EricsonSure14:23:05
@infinisil:matrix.orginfinisilBecause I think you know a lot of things, but not many other people do14:23:12
@infinisil:matrix.orginfinisilIt might be good to start with the premise of "We have Nix but no nixpkgs, how to compile a C program on various platforms?"14:23:42
@Ericson2314:matrix.orgJohn Ericson
In reply to @j-k:matrix.org
I think there are still some easier wins within our grasp for improving nixpkgs itself but I do generally agree with the changes you want for nix itself
Yes I do agree, just whenever we reach some sort of sticking point like "are setup hooks good?" I immediately find myself distracted :) and longing for the better future
14:24:08
@Ericson2314:matrix.orgJohn Ericson
In reply to @j-k:matrix.org
I think there are still some easier wins within our grasp for improving nixpkgs itself but I do generally agree with the changes you want for nix itself
* Yes I do agree, just whenever we reach some sort of sticking point like "are setup hooks good?" I immediately find myself distracted (I'll admit it! :)) and longing for the better future
14:24:23
@infinisil:matrix.orginfinisil
In reply to @infinisil:matrix.org
It might be good to start with the premise of "We have Nix but no nixpkgs, how to compile a C program on various platforms?"
John Ericson: Is there maybe already some document that explains stdenv from the ground up or is your brain the main source for it right now?
14:25:36
@roberthensing:matrix.orgRobert Hensing (roberth)
In reply to @yorik.sar:matrix.org
I think we should optimise the evaluation process, not try to avoid it...
Not to pick out a single comment, but we're discussing rather many suggestions to prioritize even larger projects. Ambition is nice, but this is also how we get stuck in ivory towers.
14:25:53
@Ericson2314:matrix.orgJohn Ericson infinisil: probably not yet 14:26:46
@Ericson2314:matrix.orgJohn Ericsonbut happy to get more stuff written14:26:54
@infinisil:matrix.orginfinisilYeah let's try to keep the discussions here limited to "What can we do with the current Nix"14:26:58
@j-k:matrix.orgj-kIt was mentioned before about bootstrapping and hopefully using stage0 and kaem etc like guix team will/already(?) do. I'm happy to help in that effort & I think this intro to stdenv would help me understand what already exists and what needs swapping out. I am also very interested in the avoiding-stageN-nonsense stuff14:27:28
@qyliss:fairydust.spaceAlyssa RossDoes that mean not the all-packages.nix restructuring from the other day, where a new builtin was being designed? 14:27:31
@infinisil:matrix.orginfinisil John Ericson: Sounds good to have a call then, I'd love to dig and experiment with this myself, maybe also write some stuff 14:27:31
@infinisil:matrix.orginfinisil Alyssa Ross: Hehe yes 14:27:51

Show newer messages


Back to Room ListRoom Version: 9