Max “Goldstein” Siling goldstein · any pronouns
  • Joined on 2024-07-15
goldstein commented on issue lix-project/lix#463 2024-08-30 19:38:05 +00:00
shell.nix for new cli

TIL about fetcher cache, thanks. intercepting a bunch of primops is easy (I think it’s just __read{FileType,File,Dir}?), but there’re also fetchers which can read from disk, including…

goldstein commented on issue lix-project/lix#463 2024-08-30 10:41:22 +00:00
shell.nix for new cli

“just tracing all the files Nix accesses” is a cool strategy, thanks for the link! it’s somewhat more complex than what I had in mind, but it’s even better. I’ll try to reuse it if I…

goldstein commented on issue lix-project/lix#463 2024-08-30 08:25:16 +00:00
shell.nix for new cli

I played around with this for a bit, here’re some thoughts:

  • it’s kind of easier to implement this out-of-tree than in-tree. I thought to reuse nix develop logic, but nix develop
goldstein commented on issue lix-project/lix#463 2024-08-07 13:04:35 +00:00
shell.nix for new cli

another consideration is whether this should work as nix shell or as nix-shell. I’d personally like a nix-shell/nix develop-like behaviour, so e.g. C headers get propagated. I could just…

goldstein commented on issue lix-project/lix#463 2024-08-06 21:25:58 +00:00
shell.nix for new cli

I’ll try to tinker with possible implementations.

goldstein commented on issue lix-project/lix#170 2024-08-06 16:59:04 +00:00
Ban resolving registry indirect flake inputs

I asked about an issue because there’re some design considerations I’d like to discuss (I’ll share them here, but feel free to point me to a more suitable venue).

old-style shell.nix

goldstein commented on issue lix-project/lix#170 2024-08-05 14:08:31 +00:00
Ban resolving registry indirect flake inputs

for example, why should nix shell without arguments not read shell.nix and auto-call it with entries of the flake registry?

I am potentially interested in hacking on this part, is there an issue?

goldstein commented on issue lix-project/lix#170 2024-08-05 14:06:55 +00:00
Ban resolving registry indirect flake inputs

That’s fair, it would be a valid replacement for this use case. In general, I think shells can have both updatable and non-updatable inputs (for example, I want a specific version of some…

goldstein commented on issue lix-project/lix#170 2024-08-05 11:39:57 +00:00
Ban resolving registry indirect flake inputs

Oh yes I would like to ban that too. Any usages of the flake registry in flake.nix files should be banned with prejudice.

I think it makes it harder to use flakes for personal devshells that…

goldstein opened issue lix-project/lix#462 2024-08-05 11:25:54 +00:00
An easy way to get a temporary shell with withPackages
goldstein commented on issue lix-project/lix#341 2024-07-15 20:32:22 +00:00
:e of a store path should not reload the repl after

I tried to solve it in https://gerrit.lix.systems/c/lix/+/1620/1.

(I think I don’t have the rights to self-assign the issue though)