| 8 Apr 2026 |
K900 | The Lix release notes are the closest thing we have tbh | 19:00:45 |
| Amboss_Mann joined the room. | 21:00:02 |
| Neil Mayhew joined the room. | 23:34:26 |
Neil Mayhew | I've switched my NixOS system to use lix and I'd like to have cachix use lix. However, it has a hardcoded dependency on nix-store, via a pkgconfig-depends. I've created https://github.com/cachix/cachix/issues/727 to ask if anything can be done about this. | 23:38:15 |
Neil Mayhew | Has anyone here been able to make cachix use lix? | 23:38:45 |
Neil Mayhew | Is a client using the nix-store library compatible with a lix daemon? | 23:39:24 |
lord_fomo | the overlay approach doesn't solve this? | 23:54:20 |
| 9 Apr 2026 |
Neil Mayhew | No. As I show in the issue, I tried
cachix = hsuper.cachix.override (old: {
nix = super.lix.dev;
});
and I get
The pkg-config package 'nix-store' is required but it could not be found.
| 00:03:40 |
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 |