!9IQChSjwSHXPPWTa:lix.systems

Lix

962 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-rooms259 Servers

Load older messages


SenderMessageTime
12 Jul 2025
@annabellaf:matrix.orgAnna F joined the room.13:56:03
@annabellaf:matrix.orgAnna F

Hi! This seems like a really lovely community. I was just wondering if this is a place to ask general questions about Lix as someone who's considering using it?

14:17:55
@firefly:raccoon.collegeFireFlyI think so! I think that's the main topic, although sometimes the channel veers into adjacent ones14:25:12
@annabellaf:matrix.orgAnna F

Okay great, so like what are the concrete advantages to Lix over Nix? Also, how compatible is it with Nix projects? I know its generally the same but are there things that don't work?

14:56:59
@k900:0upti.meK900 Generally the only things that don't work are
  1. extremely new cppnix features

  2. things that were already unsound

  3. things that abuse the interpreter in ways that should be unsound

14:57:55
@k900:0upti.meK900 The concrete advantages right now are:
  1. faster eval (often, but not by a lot)

  2. better error reporting in a bunch of places

  3. cleaner code base

14:58:43
@firefly:raccoon.collegeFireFlyin practice wrt compatibility, I haven't really noticed issues14:59:29
@firefly:raccoon.collegeFireFlyadmittedly I'm probably quite "boring" in terms of the bits I use though14:59:49
@k900:0upti.meK900I would also say that I trust the Lix team much more than the Nix team in terms of doing things right14:59:49
@aloisw:julia0815.dealoiswCompatibility is generally quite good since nixpkgs requires compatibility with older versions of nix that prevent usage of newer features that might be incompatible with Lix.15:00:31
@k900:0upti.meK900Yes, for Nixpkgs Lix is drop-in compatible15:01:29
@k900:0upti.meK900Out of tree things are YMMV15:01:34
@k900:0upti.meK900But there's some ongoing work on tooling to test those too15:01:52
@annabellaf:matrix.orgAnna F

Okay, awesome, thats good to know. ig a follow up question is, aside from being community instead of corporate focuses, how does it compare to determinate nix?

15:02:27
@k900:0upti.meK900In practice most of the value add of Determinate Nix is focused on enterprise Mac users15:02:50
@k900:0upti.meK900They ship some very experimental things that are supposed to make it faster but have known correctness issues15:03:18
@k900:0upti.meK900And I think they're still roughly as slow as Lix?15:03:44
@aloisw:julia0815.dealoiswCompared to determinate nix on a technical basis specifically, more focused on stability and less on putting in random experimental stuff.15:03:48
@annabellaf:matrix.orgAnna F

Okay, that makes sense, tysm!

15:04:42
@annabellaf:matrix.orgAnna F

I'm currently starting the process of rebuilding my rather messy nix config from scratch, and I think I'm gonna take the opportunity to switch over to Lix

15:05:24
@aloisw:julia0815.dealoiswIf you plan on re-doing your configuration, it might still be a good idea to switch to Lix before to prevent new-nix-isms from creeping into it, particularly if you want to use flakes.15:10:36
@annabellaf:matrix.orgAnna F

Yeah thats kinda my plan. I'm currently using endeavourOS as sort of a temporary system building my config in a vm

15:18:00
@annabellaf:matrix.orgAnna F

I do want to use flakes, out of curiosity what are some common nix-isms to avoid?

15:18:14
@crop_tech:matrix.orgcrop
In reply to @annabellaf:matrix.org

I do want to use flakes, out of curiosity what are some common nix-isms to avoid?

Maybe look at the blog post by jade on flakes. And if you don't want to use flakes she also made other recent posts.
15:40:04
@crop_tech:matrix.orgcrop https://jade.fyi/blog/flakes-arent-real/ 15:40:51
@crop_tech:matrix.orgcrop If you don't want to use flakes read this maybe: https://jade.fyi/blog/pinning-nixos-with-npins/ 15:42:20
@crop_tech:matrix.orgcrop Oh i have a left, right and a do, don't weakness. 😂 15:44:04
@annabellaf:matrix.orgAnna F

tysm!

16:03:15
@aloisw:julia0815.dealoisw
In reply to @annabellaf:matrix.org

I do want to use flakes, out of curiosity what are some common nix-isms to avoid?

I don't actually know, allegedly there are some, but I was thinking in more general terms. Like if you try random things out and they happen to work on newer mainline Nix it is not guaranteed that they work on Lix.
16:11:11
@aloisw:julia0815.dealoiswPossibly some of the Git LFS and submodules in flakes stuff.16:12:04

Show newer messages


Back to Room ListRoom Version: 10