| 7 Apr 2026 |
zoë (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 |
zoë (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 |
zoë (she/her) | lol didn't think about that | 17:21:40 |
zoë (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 | nix run self starts a transient self-contained version of my emacs setup lol | 17:23:05 |
accelbread | wait, even if something is in the local registry, you cant use it if you are online or the global registry is not reachable?? Thats cursed | 17:29:34 |
goldstein | you totally can | 17:29:55 |
accelbread | * 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 cursed | 17:29:56 |
goldstein | if it resolves to something that’s available locally | 17:30:02 |
goldstein | global registry shouldn’t factor there at all | 17:30:14 |
goldstein | registry 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 | (btw in lix global registry is vendored, so it’s fully offline; cppnix uses cached download) | 17:31:28 |
accelbread | ahh i was testing some cppnix stuff
it doesnt allow any registry use if global registry is not cached
| 17:34:32 |
llakala | In reply to @blokyk:matrix.org 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) in a lix context you can actually add all sorts of things to your repl with repl-overlays | 17:34:34 |
llakala | i can immediately embed pkgs, lib, sources, wrappers, etc based on the dir I'm currently in | 17:34:56 |
llakala | repl-overlays is woefully underutilized for how useful it is | 17:35:07 |
llakala | see my repl-overlay [here](https://github.com/llakala/nixos/blob/607fcec2bbc14007c2e7736d79d59648ac507193/system/extras/_overlay.nix) | 17:35:44 |
goldstein | lmao that’s cursedd | 17:36:21 |
zoë (she/her) | thanks, i've been curious about repl-overlays but honestly haven't really found a use for them beyond the pkgs = legacyPackages.blabla thing | 17:36:43 |
llakala | you have to use a lot of pwd nonsense bc when executing, `./.` is defined as the path of the repl-overlay, not your current path | 17:37:50 |
llakala | but $PWD solves that (without purity, but who needs purity) | 17:38:09 |
accelbread | is there docs for repl-overlays? can't seem to find anything | 17:38:10 |
llakala | In reply to @accelbread:matrix.org is there docs for repl-overlays? can't seem to find anything there's a release note | 17:38:23 |
zoë (she/her) | one thing i could probably do at least is make soles aloases for lib.evalModules { modules = [...]; }, as well as the entry points for nixos and hm, because it's so annoying to type and remember everytime | 17:38:29 |
zoë (she/her) | yeah basically just a release note and an entry in the nix.conf manual | 17:38:47 |
zoë (she/her) | * | 17:38:54 |
llakala | https://docs.lix.systems/manual/lix/stable/release-notes/rl-2.90.html | 17:38:56 |
llakala | In reply to @llakala:matrix.org https://docs.lix.systems/manual/lix/stable/release-notes/rl-2.90.html i don't think theres subheading links but it's here | 17:39:10 |
accelbread | nice, I'll have to play around with it | 17:39:36 |
zoë (she/her) | https://docs.lix.systems/manual/lix/2.90/command-ref/conf-file.html#conf-repl-overlays | 17:39:39 |