!9IQChSjwSHXPPWTa:lix.systems

Lix

1104 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-rooms294 Servers

Load older messages


SenderMessageTime
13 May 2024
@tc424:glasgow.social@tc424:glasgow.social
In reply to @tc424:glasgow.social
Oh https://github.com/brianmcgee/nvix
Linked from https://bmcgee.ie/posts/2023/10/nvix-implementing-a-tvix-store-with-nats/
20:20:49
@mangoiv.:matrix.orgMangoIV
In reply to @delroth:delroth.net
the flakes implementation in Lix is arguably more stable than Nix, who broke several user-facing APIs completely through bugs in the past 2-3 versions
That’s partially why I was asking, but no answer is good enough as an answer for me now then. I’ll keep watching :)
20:53:03
@fomosapien:matrix.orgTriskelion (AFK) changed their display name from Triskelion to Triskelion (AFK).21:26:26
@samrose:matrix.orgsamrose
In reply to @tc424:glasgow.social
Linked from https://bmcgee.ie/posts/2023/10/nvix-implementing-a-tvix-store-with-nats/
This looks pretty amazing ...
21:30:20
@quentinmit:matrix.orgquentin joined the room.21:56:14
@easrng:yuri.imeasrng joined the room.22:38:44
@easrng:yuri.imeasrng i just rebuilt with nix.package = pkgs.lix now that it's in nixpkgs and everything seems to work, is there any reason not to do this? 22:43:16
@puck:puck.moepuckThe version of Lix in nixpkgs will likely lag behind by a bit; and the dedicated overlay/module will build other packages that depend on Nix with Lix as well; which doesn't happen in nixpkgs.22:45:37
@easrng:yuri.imeasrng changed their profile picture.22:46:02
@mjm:midna.devmjm
In reply to @easrng:yuri.im
i just rebuilt with nix.package = pkgs.lix now that it's in nixpkgs and everything seems to work, is there any reason not to do this?
this is what i'm doing too
22:46:34
@samrose:matrix.orgsamrose
In reply to @puck:puck.moe
The version of Lix in nixpkgs will likely lag behind by a bit; and the dedicated overlay/module will build other packages that depend on Nix with Lix as well; which doesn't happen in nixpkgs.
If we nix build on the flake in the source repo this overlay/module and the packages it builds will be part of the build then, is that right?
23:08:40
@fly:asra.gr@fly:asra.gr
In reply to @puck:puck.moe
The version of Lix in nixpkgs will likely lag behind by a bit; and the dedicated overlay/module will build other packages that depend on Nix with Lix as well; which doesn't happen in nixpkgs.
mew, did you figure out why it builds electron with our nixpkgs version?
23:09:33
@qyriad:katesiria.orgQyriad ugh this is that issue where they somehow got Nix in Electron's closure. did they not backport the fix for that to older Nixpkgs? 23:10:15
@qyriad:katesiria.orgQyriad
In reply to @samrose:matrix.org
If we nix build on the flake in the source repo this overlay/module and the packages it builds will be part of the build then, is that right?
I'm not sure I understand you correctly, but I don't think so — the flake in the lix-project/lix repo is not actually exactly the same derivation as the one the overlay exports
23:11:13
@samrose:matrix.orgsamrose
In reply to @samrose:matrix.org
If we nix build on the flake in the source repo this overlay/module and the packages it builds will be part of the build then, is that right?
I guess we can also use the installer on a fresh machine. I hadn’t even dug into trying to install Nixos using Lix or maybe not yet possible?
23:11:52
@samrose:matrix.orgsamrose
In reply to @qyriad:katesiria.org
I'm not sure I understand you correctly, but I don't think so — the flake in the lix-project/lix repo is not actually exactly the same derivation as the one the overlay exports
Ok thanks
23:12:43
@qyriad:katesiria.orgQyriad
In reply to @samrose:matrix.org
I guess we can also use the installer on a fresh machine. I hadn’t even dug into trying to install Nixos using Lix or maybe not yet possible?
the NixOS installer doesn't have like, an option to select Lix instead (yet 🙂), but you could probably hack the installer to use a specific overlay or something. or you could just switch after installation 🤷she
23:13:40
@darkkronicle:jpxs.ioDarkKronicle joined the room.23:17:11
@samrose:matrix.orgsamrose
In reply to @qyriad:katesiria.org
I'm not sure I understand you correctly, but I don't think so — the flake in the lix-project/lix repo is not actually exactly the same derivation as the one the overlay exports
Sorry for my being confusing. I was thinking about cases where I am using nix on non-nixos systems (crazy, I know), but realized the discussion about the module/overlay might be in the context of installing Lix in nixos?
23:18:03
@samrose:matrix.orgsamrose(I use nixos for some projects, but also have many cases where I just use nix on other linux distros. I was experimenting with using Lix on non-nixos contexts.)23:20:20
@qyriad:katesiria.orgQyriadahhh oops23:25:06
@qyriad:katesiria.orgQyriadthe module is specific to NixOS, though you can use the overlay it exports from non-NixOS23:25:26
@qyriad:katesiria.orgQyriadbut in general you can just use the lix installer on non-NixOS23:25:39
@dolcetriade:matrix.orgDolceTriadeCan you have nix and Lix installed together or will they fight over the "nix" binary?23:30:12
@qyriad:katesiria.orgQyriad you'll just end up with two nixs in your path, depending on how you install. the bigger thing is that only one daemon will be in use, which is not a huge problem since right now they are compatible, but we wouldn't recommend having two Nix implementations installed at once unless you have a good reason to 23:31:26
@samrose:matrix.orgsamrose
In reply to @qyriad:katesiria.org
but in general you can just use the lix installer on non-NixOS
I feel like many people might have the opinion that you'd be kinda crazy not to just use Nixos, and I actually agree. But I have some reasons to use just nix in some cases. And, I also don't mind testing, and even trying to help fix the non-nixos use cases in Lix too. I also do use flake registries, and nix profile install in some non-nixos cases (and it actually works surprisingly well). I can't foresee a reason to have nix and lix together on the same system.
23:36:42
@qyriad:katesiria.orgQyriadthere are plenty of reasons to use Nix on non-NixOS systems tbh23:41:07
@qyriad:katesiria.orgQyriadwe very much support that use case23:41:13
@qyriad:katesiria.orgQyriad* there are plenty of reasons to use Nix on non-NixOS (Linux) systems tbh23:41:20
@qyriad:katesiria.orgQyriad it is, admittedly, less tested, but only because it's much harder to do testing for it 23:41:36

Show newer messages


Back to Room ListRoom Version: 10