| 17 Mar 2024 |
Robert Hensing (roberth) | Because then Nixpkgs functionality like command-not-found doesn't break when you use a branch | 14:12:47 |
Robert Hensing (roberth) | nix-index is not a viable replacement for everyone to run by default | 14:13:26 |
K900 | We can have it not break in other ways | 14:13:27 |
K900 | That don't involve tracking an sqlite blob in nixpkgs forever | 14:13:38 |
Robert Hensing (roberth) | We should deliver programs.sqlite to branch-based users, which is the majority by now | 14:13:52 |
infinisil | Orthogonally to this discussion, programs.sqlite should be replaced with nix-index | 14:14:05 |
Robert Hensing (roberth) | Most growth has been through flakes apparently | 14:14:07 |
infinisil | * Orthogonally to this discussion, programs.sqlite should be replaced with a nix-index database | 14:14:12 |
Robert Hensing (roberth) | Sure, but it needs to be distributed somehow, regardless of the format | 14:14:25 |
K900 | In reply to @k900:0upti.me That don't involve tracking an sqlite blob in nixpkgs forever No, we shouldn't | 14:14:24 |
K900 | We should deliver working command-not-found to those users | 14:14:33 |
K900 | But that is very much not the same thing | 14:14:40 |
Robert Hensing (roberth) | And it shouldn't be based on the exact Nixpkgs commit, because then other branches don't work | 14:14:45 |
infinisil | How about making Flakes support channels | 14:14:56 |
infinisil | We don't need to invent a new solution for something that already worked in stable Nix | 14:15:06 |
Robert Hensing (roberth) | No, that doesn't solve the problem that branches don't have the data | 14:15:22 |
infinisil | Even npins supports channels, it's just a tarball fetch | 14:15:23 |
K900 | You can actually use a channel as a flake input already | 14:15:22 |
Robert Hensing (roberth) | It's not a flakes problem | 14:15:35 |
K900 | It's silly but you can | 14:15:27 |
K900 | But CNF will not pick it up because it looks in hardcoded places | 14:15:41 |
infinisil | In reply to @k900:0upti.me You can actually use a channel as a flake input already Does that actually work well? | 14:16:35 |
infinisil | In reply to @roberthensing:matrix.org It's not a flakes problem If Flakes supports channels, why does everybody fetch from git instead? | 14:17:27 |
K900 | No | 14:16:57 |
K900 | But it does work | 14:17:02 |