!9IQChSjwSHXPPWTa:lix.systems

Lix

1101 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms293 Servers

Load older messages


SenderMessageTime
1 Dec 2025
@raitobezarius:matrix.orgraitobezariusfor non-flakes entrypoints i suppose11:32:35
@piegames:flausch.socialpiegamesCan this be done with static analysis?11:33:36
@raitobezarius:matrix.orgraitobezariusi don't believe so11:33:44
@piegames:flausch.socialpiegamesCan you give some examples?11:33:58
@raitobezarius:matrix.orgraitobezariuswe must hook some reporting facility in lix that you can exploit11:33:53
@raitobezarius:matrix.orgraitobezariusold-style tests entrypoints11:34:08
@raitobezarius:matrix.orgraitobezariusin nixpkgs11:34:13
@piegames:flausch.socialpiegamesBecause without a standardized way to enumerate all entry points, finding usage through Flaker will be tricky11:34:26
@raitobezarius:matrix.orgraitobezarius nixos/tests/zfs.nix 11:34:28
@raitobezarius:matrix.orgraitobezariusa ultra common pattern is11:34:32
@raitobezarius:matrix.orgraitobezarius { x ? a, y ? b, c ? d }: ... 11:34:41
@raitobezarius:matrix.orgraitobezariusthis gets autocalled all the time11:34:45
@raitobezarius:matrix.orgraitobezarius many default.nix starts with { pkgs ? import <nixpkgs> { } }: ... 11:34:54
@piegames:flausch.socialpiegamesI know that pattern, but where does that get autocalled?11:36:44
@piegames:flausch.socialpiegamesI've seen it manually called at times and that's it11:36:54
@piegames:flausch.socialpiegamesI haven't seen much autocalling entry points in the wild11:37:09
@raitobezarius:matrix.orgraitobezariuswell11:44:43
@raitobezarius:matrix.orgraitobezariusif you do11:44:44
@raitobezarius:matrix.orgraitobezariusnix-build -A xyz11:44:46
@raitobezarius:matrix.orgraitobezariusyou are doing autocalling?11:44:49
@raitobezarius:matrix.orgraitobezarius if you do nix-build nixos/tests/zfs.nix 11:45:01
@raitobezarius:matrix.orgraitobezariusyou are doing autocalling as well?11:45:05
@qyriad:katesiria.orgQyriad nix-build, nix-shell, nix develop, and nix build all do autocall, among certainly many others 11:46:37
@qyriad:katesiria.orgQyriad nix-build '<nixpkgs>' -A hello autocalls <nixpkgs/default.nix> { } 11:47:01
@niko:nrab.lolniko ⚡️Honestly though how many users are there of deep auto-calls and auto-calling functors11:49:19
@niko:nrab.lolniko ⚡️I can't imagine there being that many11:49:31
@raitobezarius:matrix.orgraitobezariusyeah, i expect this to be ≤1011:49:34
@raitobezarius:matrix.orgraitobezariusbut we should prove it via large scale evaluations11:49:41
@niko:nrab.lolniko ⚡️And if someone is auto-calling a functor, they're probably doing it on accident11:49:49
@raitobezarius:matrix.orgraitobezariusno one has been accidentally comparing attrsets with functions at all11:50:28

Show newer messages


Back to Room ListRoom Version: 10