!9IQChSjwSHXPPWTa:lix.systems

Lix

1138 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms314 Servers

Load older messages


SenderMessageTime
7 Apr 2026
@goldstein:tty5.devgoldsteinmaybe they failed for another reason earlier, maybe these repos just weren’t in the sample17:15:36
@goldstein:tty5.devgoldsteinmaybe all the inputs were explicitly passed, so this code path was never reached17:15:57
@blokyk:matrix.orgzoë (she/her)ok so what was the point of having the registry as a separate thing? ;-;17:16:18
@blokyk:matrix.orgzoë (she/her)oooh wait is the registry only used at locking time? and not runtime?17:16:31
@goldstein:tty5.devgoldsteinnix channels are just for nixpkgs, registries can hold all sorts of stuff17:16:38
@goldstein:tty5.devgoldsteinthe current global registry holds an unreasonable amount of random repos17:16:55
@goldstein:tty5.devgoldsteinfor a reason I cannot comprehend17:17:02
@goldstein:tty5.devgoldsteinbut you can also use it for local aliases and stuff17:17:12
@accelbread:matrix.orgaccelbreadIve used them for work so a bunch of flakes choose same rev to pin to17:17:15
@goldstein:tty5.devgoldstein yeah, kinda, but you also use them “at runtime” when you write, like, nix shell nixpkgs#hello 17:17:29
@accelbread:matrix.orgaccelbreadyou can override the global registry with a flake setting iirc17:17:46
@blokyk:matrix.orgzoë (she/her)right right17:17:50
@goldstein:tty5.devgoldsteinyeah you can17:17:53
@blokyk:matrix.orgzoë (she/her)ok sorry for the dumb question then ;-;17:18:15
@accelbread:matrix.orgaccelbreadnot a dumb question, situation is a mess lol17:19:12
@blokyk:matrix.orgzoë (she/her) yeah i basically just use the local registry to add nixpkgs for these commands (such that it is the same as the one in my nix path (which is itself based on my system config's npins)), and that's about it 17:20:09
@goldstein:tty5.devgoldstein you can also name it n to save yourself 6 keystrokes lol 17:20:41
@blokyk:matrix.orgzoë (she/her) for the repl i still do -f <nixpkgs> because the whole legacyPackages.blabla stuff is kinda dumb (thanks to whoever implemented the -f and -E things for all installable lifesaver btw) 17:21:16
@blokyk:matrix.orgzoë (she/her) * for the repl i still do -f <nixpkgs> because the whole legacyPackages.blabla stuff is kinda dumb (thanks to whoever implemented the -f and -E things for all installables btw, lifesaver) 17:21:26
@blokyk:matrix.orgzoë (she/her)lol didn't think about that17:21:40
@blokyk:matrix.orgzoë (she/her) i might extend nix-debug to work for nix shell now that i actually have that setup now that i think about it 17:22:15
@accelbread:matrix.orgaccelbread nix run self starts a transient self-contained version of my emacs setup lol 17:23:05
@accelbread:matrix.orgaccelbreadwait, even if something is in the local registry, you cant use it if you are online or the global registry is not reachable?? Thats cursed17:29:34
@goldstein:tty5.devgoldsteinyou totally can17:29:55
@accelbread:matrix.orgaccelbread* wait, even if something is in the local registry, you cant use it if you are offline or the global registry is not reachable?? Thats cursed17:29:56
@goldstein:tty5.devgoldsteinif it resolves to something that’s available locally17:30:02
@goldstein:tty5.devgoldsteinglobal registry shouldn’t factor there at all17:30:14
@goldstein:tty5.devgoldsteinregistry is basically just rewrite rules: “if you see flakeref that looks like this, replace it with a flakeref that looks like that”17:30:57
@goldstein:tty5.devgoldstein(btw in lix global registry is vendored, so it’s fully offline; cppnix uses cached download)17:31:28
@accelbread:matrix.orgaccelbreadahh i was testing some cppnix stuff it doesnt allow any registry use if global registry is not cached 17:34:32

Show newer messages


Back to Room ListRoom Version: 10