!9IQChSjwSHXPPWTa:lix.systems

Lix

1123 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-rooms304 Servers

Load older messages


SenderMessageTime
22 Jan 2026
@cyclopentane:aidoskyneen.eupentane changed their profile picture.22:21:03
23 Jan 2026
@io:meat.computer@io:meat.computer left the room.00:52:51
@niko:nrab.lolniko ⚡️ Does Lix expose any probes for profiling, especially when it comes to eval? 11:51:38
@piegames:flausch.socialpiegamesWhat do you mean with probes? If you want to profile your Nix code then it has performance counters you can print with some flags (IIRC), when it comes to profiling eval itself then perf and callgrind it is12:44:10
@thubrecht:matrix.orgthubrecht NIX_SHOW_STATS=1 is the env variable that makes it print the counters 12:54:39
@nea:nea.moenea joined the room.13:05:52
@raitobezarius:matrix.orgraitobezariuswe have USDT probes for HTTP transfers15:24:01
@raitobezarius:matrix.orgraitobezariusi want to introduce more probes, like, significantly more15:24:09
@raitobezarius:matrix.orgraitobezariusso that it's possible to write an eBPF profiler based on them for eval15:24:18
@raitobezarius:matrix.orgraitobezariusbut didn't have time15:24:26
@niko:nrab.lolniko ⚡️
In reply to @piegames:flausch.social
What do you mean with probes? If you want to profile your Nix code then it has performance counters you can print with some flags (IIRC), when it comes to profiling eval itself then perf and callgrind it is
I mean not profiling the eval implementation itself but profiling nix code against the current eval implementation. But those answer my question, thank you, I’ll see if the counters are sufficient for what I want to look into. Worst case I’ll just wait with anticipation for raito to get back to introducing more probes
15:54:23
@raitobezarius:matrix.orgraitobezariusthere's a function tracer as well fyi16:38:47
@vczf:matrix.orgvczf changed their profile picture.18:47:02
24 Jan 2026
@milo:wiro.worldMilo

lix fmt doesn't behave the same as nix fmt when invoked with no arguments.

nix fmt passes the project root directory (the one parent of the flake.nix) as the default argument.
Whereas, lix fmt simply acts as a nix run .#formatter.

Is this intentional? If so, what is the reason? If not, could I volunteer a PR to match nix's behaviour?

00:13:35
@innocentzer0:matrix.orginnocentzer0 joined the room.01:13:21
@oli:catgirl.cloudholly [she/it] 🏳️‍⚧️ changed their profile picture.09:08:06
@acidbong:envs.netAcid Bong
In reply to @milo:wiro.world

lix fmt doesn't behave the same as nix fmt when invoked with no arguments.

nix fmt passes the project root directory (the one parent of the flake.nix) as the default argument.
Whereas, lix fmt simply acts as a nix run .#formatter.

Is this intentional? If so, what is the reason? If not, could I volunteer a PR to match nix's behaviour?

what's lix fmt? is there a lix-fmt executable?
09:39:47
@neindochoh:catgirl.cloudneindochoh! / Seti (they/them)Lix 2.92 introduced a breaking change in the behaviour of the fmt command: https://docs.lix.systems/manual/lix/2.94/release-notes/rl-2.92.html?highlight=fmt#breaking-changes09:46:19
@neindochoh:catgirl.cloudneindochoh! / Seti (they/them) * 09:48:05
@acidbong:envs.netAcid Bong
In reply to @milo:wiro.world

lix fmt doesn't behave the same as nix fmt when invoked with no arguments.

nix fmt passes the project root directory (the one parent of the flake.nix) as the default argument.
Whereas, lix fmt simply acts as a nix run .#formatter.

Is this intentional? If so, what is the reason? If not, could I volunteer a PR to match nix's behaviour?

btw, what are Lix and Nix versions you're having?
09:54:35
@niko:nrab.lolniko ⚡️
In reply to @milo:wiro.world

lix fmt doesn't behave the same as nix fmt when invoked with no arguments.

nix fmt passes the project root directory (the one parent of the flake.nix) as the default argument.
Whereas, lix fmt simply acts as a nix run .#formatter.

Is this intentional? If so, what is the reason? If not, could I volunteer a PR to match nix's behaviour?

I believe nix changed that behavior like a year ago at this point
11:19:50
@niko:nrab.lolniko ⚡️ There’s been numerous warnings about that behavior changing soon at least 11:20:06
@niko:nrab.lolniko ⚡️ This is also why it’s advised to use nixfmt-tree for the formatter output 11:20:26
13 May 2024
@aciceri:nixos.devzrsk joined the room.13:37:30
@dariof4:matrix.orgdariof4 joined the room.14:16:05
@abbe:badti.meabbe joined the room.14:42:22
@mjm:midna.devmjmlix is now in nixos-unstable, what's the best way to use it in a NixOS config?15:47:41
@k900:0upti.meK900nix.package = pkgs.lix15:47:54
@k900:0upti.meK900Probably15:47:58
@k900:0upti.meK900Or just keep using the module15:48:02

Show newer messages


Back to Room ListRoom Version: 10