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-rooms | 304 Servers |
| Sender | Message | Time |
|---|---|---|
| 13 May 2024 | ||
In reply to @raitobezarius:matrix.org this is sort of what the tvix approach is, right? the store should be a defined component with its own semantics and a clear interface, at which point a lot of other stuff can be implemented on top of this rather than through the current monolithic Nix binary application (e.g. binary caching, the build tool, various bits of UI on top of the store) | 19:42:33 | |
| correct | 19:57:44 | |
| 20:01:59 | ||
| Oh https://github.com/brianmcgee/nvix | 20:18:40 | |
In reply to @tc424:glasgow.socialLinked from https://bmcgee.ie/posts/2023/10/nvix-implementing-a-tvix-store-with-nats/ | 20:20:49 | |
In reply to @delroth:delroth.netThat’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 | |
| 21:26:26 | ||
In reply to @tc424:glasgow.socialThis looks pretty amazing ... | 21:30:20 | |
| 21:56:14 | ||
| 22:38:44 | ||
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 | |
| 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. | 22:45:37 | |
| 22:46:02 | ||
In reply to @easrng:yuri.imthis is what i'm doing too | 22:46:34 | |
In reply to @puck:puck.moeIf 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 | |
In reply to @puck:puck.moemew, did you figure out why it builds electron with our nixpkgs version? | 23:09:33 | |
| 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 | |
In reply to @samrose:matrix.orgI'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 | |
In reply to @samrose:matrix.orgI 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 | |
In reply to @qyriad:katesiria.orgOk thanks | 23:12:43 | |
In reply to @samrose:matrix.orgthe 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 | |
| 23:17:11 | ||
In reply to @qyriad:katesiria.orgSorry 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 | |
| (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 | |
| ahhh oops | 23:25:06 | |
| the module is specific to NixOS, though you can use the overlay it exports from non-NixOS | 23:25:26 | |
| but in general you can just use the lix installer on non-NixOS | 23:25:39 | |
| Can you have nix and Lix installed together or will they fight over the "nix" binary? | 23:30:12 | |
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 | |
In reply to @qyriad:katesiria.orgI 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 | |