!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

227 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture53 Servers

Load older messages


SenderMessageTime
17 Mar 2024
@infinisil:matrix.orginfinisilYeah I'm not a fan of that idea14:11:10
@k900:0upti.meK900And also because it's much bigger and much more expensive to build than the other cases I can see 14:10:51
@roberthensing:matrix.orgRobert Hensing (roberth)I don't get it. It would work well for git-based channels14:11:41
@roberthensing:matrix.orgRobert Hensing (roberth) Currently we don't have any programs.sqlite for those users 14:11:52
@k900:0upti.meK900Also, here's a hot take: the default behavior should be to put that behind an HTTP endpoint 14:11:46
@infinisil:matrix.orginfinisilWhy does it need to be git-based?14:12:10
@k900:0upti.meK900And make people opt in if you want it offline 14:11:59
@k900:0upti.meK900
In reply to @roberthensing:matrix.org
Currently we don't have any programs.sqlite for those users
We have nix-index
14:12:06
@k900:0upti.meK900Though it's also not great because it wastes time scraping Hydra every time 14:12:27
@k900:0upti.meK900But it is correct in being incremental and out of lifecycle14:12:39
@roberthensing:matrix.orgRobert Hensing (roberth)Because then Nixpkgs functionality like command-not-found doesn't break when you use a branch14:12:47
@roberthensing:matrix.orgRobert Hensing (roberth) nix-index is not a viable replacement for everyone to run by default 14:13:26
@k900:0upti.meK900We can have it not break in other ways 14:13:27
@k900:0upti.meK900That don't involve tracking an sqlite blob in nixpkgs forever14:13:38
@roberthensing:matrix.orgRobert Hensing (roberth) We should deliver programs.sqlite to branch-based users, which is the majority by now 14:13:52
@infinisil:matrix.orginfinisil Orthogonally to this discussion, programs.sqlite should be replaced with nix-index 14:14:05
@roberthensing:matrix.orgRobert Hensing (roberth)Most growth has been through flakes apparently14:14:07
@infinisil:matrix.orginfinisil * Orthogonally to this discussion, programs.sqlite should be replaced with a nix-index database 14:14:12
@roberthensing:matrix.orgRobert Hensing (roberth)Sure, but it needs to be distributed somehow, regardless of the format14:14:25
@k900:0upti.meK900
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:0upti.meK900 We should deliver working command-not-found to those users 14:14:33
@k900:0upti.meK900But that is very much not the same thing 14:14:40
@roberthensing:matrix.orgRobert Hensing (roberth)And it shouldn't be based on the exact Nixpkgs commit, because then other branches don't work14:14:45
@infinisil:matrix.orginfinisilHow about making Flakes support channels14:14:56
@infinisil:matrix.orginfinisilWe don't need to invent a new solution for something that already worked in stable Nix14:15:06
@roberthensing:matrix.orgRobert Hensing (roberth)No, that doesn't solve the problem that branches don't have the data14:15:22
@infinisil:matrix.orginfinisilEven npins supports channels, it's just a tarball fetch14:15:23
@k900:0upti.meK900You can actually use a channel as a flake input already 14:15:22
@roberthensing:matrix.orgRobert Hensing (roberth)It's not a flakes problem14:15:35
@k900:0upti.meK900It's silly but you can 14:15:27

Show newer messages


Back to Room ListRoom Version: 9