!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
@qyliss:fairydust.spaceAlyssa Rosshmm, did that message come through as a reply? it was supposed to10:11:10
@yorik.sar:matrix.orgyorik.sarYes, it did10:21:22
@qyliss:fairydust.spaceAlyssa Rosscool, thanks10:24:16
@sandro:supersandro.deSandrothe logo reminds me of https://en.wikipedia.org/wiki/FC_Bayern_Munich11:39:56
@hexa:lossy.networkhexasame12:01:14
@j-k:matrix.orgj-knix_architecture.png
Download nix_architecture.png
12:24:56
@j-k:matrix.orgj-kmy candidate12:25:00
@j-k:matrix.orgj-khelmet from FontAwesome's free tier which I imagine we can use https://fontawesome.com/icons/helmet-safety?s=solid can swap it for a better one if necessary12:26:03
@sandro:supersandro.deSandro
In reply to @j-k:matrix.org
sent an image.
kinda looks like prometheus upside down without the flame 🤔
12:59:03
@roberthensing:matrix.orgRobert Hensing (roberth)
In reply to @qyliss:fairydust.space
strongly disagree with having higher-level builder hooks, for exactly this reason. As it stands, setup hooks compose much better than high-level Nix derivation wrapper functions.
setup hooks don't have a per derivation eval overhead, whereas you pay an eval price for every feature that's in a mkDerivation wrapper
13:01:08
@qyliss:fairydust.spaceAlyssa Rossalso a good point13:01:36
@roberthensing:matrix.orgRobert Hensing (roberth)
In reply to @qyliss:fairydust.space
strongly disagree with having higher-level builder hooks, for exactly this reason. As it stands, setup hooks compose much better than high-level Nix derivation wrapper functions.
* also, setup hooks don't have a per derivation eval overhead, whereas you pay an eval price for every feature that's in a mkDerivation wrapper
13:01:38
@yorik.sar:matrix.orgyorik.sarI think we should optimise the evaluation process, not try to avoid it...13:35:59
@Ericson2314:matrix.orgJohn Ericsonyeah setup hooks cannot be the solution14:10:32
@Ericson2314:matrix.orgJohn Ericsonagree today's builder functions are no ogod14:10:41
@Ericson2314:matrix.orgJohn Ericson * agree today's builder functions are no good14:10:44
@qyliss:fairydust.spaceAlyssa Rosswhy can't the be the solution?14:11:16
@Ericson2314:matrix.orgJohn Ericson they are just too jank for for me, and when you do need eval time info they are no good 14:11:42
@qyliss:fairydust.spaceAlyssa RossI think setup hooks are great, as they allow package authors to simply declare the dependencies, and most of the time the right thing will happen. If it doesn't, it's easy to disable the problematic setup hooks and do things manually.14:12:32
@Ericson2314:matrix.orgJohn Ericson e.g. if we wanted to do build-cc cc target-ccrather thanmachine-cc` in wrapper would be nice to have some sort of eval level setup hook to build the wrapper with different prefix depending on how it is used 14:12:45
@Ericson2314:matrix.orgJohn Ericson Well, what I really believe is Nix needs more layering so we can get a better diversity of approaches 14:13:30
@Ericson2314:matrix.orgJohn Ericsonit's very hard to steer nixpkgs at all right now14:13:48
@qyliss:fairydust.spaceAlyssa Rosswdym by layering?14:13:59
@Ericson2314:matrix.orgJohn EricsonI want to be able to build store layer without eval or falkes14:14:14
@Ericson2314:matrix.orgJohn Ericson * I want to be able to build store layer without eval or flakes14:14:17
@Ericson2314:matrix.orgJohn Ericsonand have a binary for it14:14:24
@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

There are no newer messages yet.


Back to Room ListRoom Version: 9