| 9 Apr 2026 |
Neil Mayhew | That's because cachix has a hard-coded dependency on nix via pkgconfig-depends: nix-store | 00:04:25 |
Neil Mayhew | I assume the lix-store library is broadly compatible with the nix-store library, but I'd have to patch the cachix Cabal file to make it use the different library name. | 00:05:49 |
Neil Mayhew | I'd also have to patch the same thing in the hercules-ci-cnix-store Haskell package which has the same dependency. | 00:06:21 |
Neil Mayhew | * I'd also have to patch the same thing in the hercules-ci-cnix-store Haskell package which is a dependency of cachix has the same dependency on nix-store. | 00:07:32 |
lord_fomo | ah kk gtk | 00:08:54 |
lord_fomo | K900 so that's what buddy said in main nixos room no? | 00:09:14 |
lord_fomo | that such things might need to be patched | 00:09:24 |
Neil Mayhew | Ah, I didn't see that. Thanks, I'll go take a look. | 00:09:44 |
lord_fomo | ah well i'm clarifying | 00:09:54 |
lord_fomo | i'm brand new to this lix stuff as well | 00:10:08 |
lord_fomo | i actually was likely as equally annoyed as you about the new builds getting out slowly but never commented on the forum 😂 | 00:10:45 |
Neil Mayhew | I suppose it would be possible to create a small shim that wraps lix.dev and provides a nix-store.pc file that actually points to lix-store but that seems a bit icky | 00:10:57 |
lord_fomo | good reason to try out (or at least know how) the alt backend | 00:11:06 |
Neil Mayhew | TBH, I think the slow builds are a general problem with nixos-unstable and not related to nix-vs-lix | 00:12:19 |
lord_fomo | yeah totes. but it gave us a reason to try out lix | 00:12:32 |
lord_fomo | plus, honestly i like contrarian vibez anyway | 00:12:43 |
Neil Mayhew | I'm kicking the tires at the moment but I like what I'm seeing | 00:12:50 |
lord_fomo | hehe | 00:13:19 |
lord_fomo | i been meaning to take a look for a while anyway | 00:13:36 |
lord_fomo | usually there's gotta be an actual failure of something to get my butt in gear. | 00:13:56 |
lord_fomo | i actually think it's a testament to the whole system that you can this easily swap out the entire backend so easily | 00:15:46 |
Neil Mayhew | Yes, it's a clear sign of good design | 00:16:10 |
Neil Mayhew | Could you point me to the discussion you saw on the NixOS server? There are a lot of rooms on there! 😄 | 00:16:49 |
lord_fomo | ahh well it was just someone commenting you have to sometimes override / deal-with hardcoded things like you mentioned | 00:17:26 |
lord_fomo | i think also the advance-change section here?
https://lix.systems/add-to-config/ | 00:17:49 |
lord_fomo |
This approach is more robust, as it uses an overlay to rewire other tools that depend on Nix, ensuring consistency across your setup. Tools like colmena or nix-eval-jobs, which often hardcode a reference to Nix, will now use the version provided by Lix.
| 00:17:57 |
lord_fomo | but i presume that's what already wasn't workin for ya? | 00:18:16 |
Neil Mayhew | I've added that overlay, but I don't think there's a cachix or nix-store in lixPackageSets.stable. However, I'll check again. | 00:19:10 |
Neil Mayhew | Unfortunately, it doesn't have either of those, but it does have a few other things I might add to my overlay | 00:22:03 |
lord_fomo | ahh i see ur doin fancy haskell stuff | 00:22:19 |