I added a flakes.nix file to my project to ease distribution, published it on GitHub, but when I run nix shell github:rapenne-s/bento, I always get the first version fetched. If I update the code on GitHub meanwhile, the nix shell command is instantaneous and still using the same version as the first time.
I don’t really understand why I get this behavior, and how to fix it.
A lot of those options apply to all nix commands, since they override nix.conf settings. Though that’s just another of those things you “just have to know”…
Intuitively I would also say common options should be documented for each command that shares them, and indeed that’s what we already have in principle: nix shell
Agree with @tejing that „you just have to know“ does not scale.
One could probably make another category for common flags, and possibly that would require some new logic if it doesn’t nicely map to what’s there already.
I recently refactored the rendering part, which should now hopefully make the idea behind how that stuff is presented a bit easier to grok.