| 24 Jan 2026 |
| holly [she/it] 🏳️⚧️ changed their profile picture. | 09:08:06 |
Acid 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! / 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-changes | 09:46:19 |
neindochoh! / Seti (they/them) | * | 09:48:05 |
Acid 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 ⚡️ | 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 ⚡️ | There’s been numerous warnings about that behavior changing soon at least | 11:20:06 |
niko ⚡️ | This is also why it’s advised to use nixfmt-tree for the formatter output | 11:20:26 |
llakala | In reply to @niko:nrab.lol This is also why it’s advised to use nixfmt-tree for the formatter output i have nixfmt enforced in CI, and rather than using nixfmt-tree, i just use a glob on all the files on the directory | 17:45:55 |
llakala | modern problems require modern solutions | 17:46:02 |
sterni | I was messing with this (https://git.lix.systems/lix-project/lix/src/commit/e9cccd47e216f0b90d68e471162a651176feb5b4/lix/libstore/build/derivation-goal.cc#L918-L931), but can't seem to see any effects of it. Is this exception somehow propagated from the daemon to the client, so I need to deploy a separate daemon or am I missing something? | 18:33:01 |
K900 | Yes, it is | 18:34:28 |
K900 | That's exactly what is happening | 18:34:33 |
K900 | This is fully formed on the daemon side and then passed to the client as one big string | 18:34:46 |
sterni | ah that's already helpful for understanding what's going on. is there a good setup for working on the daemon side, then? | 20:19:55 |
niko ⚡️ | If you run lix as root you can bypass talking to the daemon | 21:31:10 |
niko ⚡️ | It used to be the default, inherited from nix, but nowadays I believe lix always talks to the daemon unless specified otherwise | 21:31:36 |
niko ⚡️ | Alternatively you can run a daemon with a different store directory and connect to that instead | 21:32:38 |
KFears (they/them) | In reply to @niko:nrab.lol If you run lix as root you can bypass talking to the daemon Oh god | 21:43:21 |
KFears (they/them) | Is this the CppNix way of making Nix work in containers? | 21:43:46 |
sterni | it's just single user nix | 21:56:17 |
| 25 Jan 2026 |
delroth | for anyone (presumably in europe) planning to attend lixcon and still stuck not having a train ticket because SNCF is dumb and doesn't understand the concept of people planning trips more than 3 months ahead of time: apparently they'll start selling tickets for around lixcon dates on Jan 28th | 08:10:04 |
delroth | (or so they say, I'm not sure if they're to be believed) | 08:10:23 |
kfiz | Is this currently (going to be) supported in lix? https://nix.dev/manual/nix/2.22/command-ref/new-cli/nix3-shell#use-as-a--interpreter | 08:24:36 |
0x4fbb09 it/its ⛯✇ΘΔ | works for me, i use that | 11:07:09 |
toonn | delroth: Belgian rail system doesn't depend on reservations like many others. | 11:12:11 |
toonn | delroth: It's a show up, pay and get on kinda deal. | 11:12:27 |
toonn | Frequency between the airport and the central stations in Brussels is pretty high as well, so you shouldn't worry too much. | 11:21:29 |
toonn | Also, I'd even recommend against getting tickets ahead of time because strikes are not unheard of. | 11:21:59 |
delroth | ok, but lixcon isn't in brussels, making this a bit beside the point :) | 11:31:57 |