| 13 May 2024 |
@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 | 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 | 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 | 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 | 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 | 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 joined the room. | 23:17:11 |
samrose | 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 | (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 | ahhh oops | 23:25:06 |
Qyriad | the module is specific to NixOS, though you can use the overlay it exports from non-NixOS | 23:25:26 |
Qyriad | but in general you can just use the lix installer on non-NixOS | 23:25:39 |
DolceTriade | Can you have nix and Lix installed together or will they fight over the "nix" binary? | 23:30:12 |
Qyriad | 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 | 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 | there are plenty of reasons to use Nix on non-NixOS systems tbh | 23:41:07 |
Qyriad | we very much support that use case | 23:41:13 |
Qyriad | * there are plenty of reasons to use Nix on non-NixOS (Linux) systems tbh | 23:41:20 |
Qyriad | it is, admittedly, less tested, but only because it's much harder to do testing for it | 23:41:36 |
samrose | it's really nice to manage building projects local/ci, etc | 23:41:38 |
Qyriad | yeah | 23:42:00 |
Qyriad | hell, eza explicitly recommends that anyone developing on it use Nix to do so | 23:42:26 |
hexa | cafkafk at it again | 23:42:52 |
samrose | In reply to @qyriad:katesiria.org there are plenty of reasons to use Nix on non-NixOS (Linux) systems tbh I wonder what some good approaches to testing this would be | 23:43:27 |
fwam | In reply to @hexa:lossy.network cafkafk at it again hm? | 23:43:56 |
hexa | she maintains eza | 23:44:04 |
fwam | that i know | 23:44:08 |
hexa | and has recently become a nixpkgs committer | 23:44:11 |
Qyriad | oh asdkgl | 23:44:13 |
fwam | In reply to @hexa:lossy.network and has recently become a nixpkgs committer "recently" | 23:44:18 |