You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If someone wants to build an app from source, they need dependencies. However, people do not want to clog up their systems with useless dependencies. Having the ability to install a multitude of dependencies and have them auto delete automatically once the terminal is closed would be ideal.
the terminal would then check which of these are already installed and ignore them, but download those that arent temporarily. you could then close the app and the ones that were downloaded would delete whilst the ones that were already on your system would stay
(i use linux by the way, so the sudo command would be something else)
I think it would be annoying if those dependencies are removed eagerly on shell exit, as that could happen by mistake or for the purpose of extending it, so I don't think this should be the default behavior for nix-shell/nix shell/nix develop, ie the commands that already provide this functionality, and relying on the garbage collector to delete them, instead of doing it immediately.
I wouldn't discount the need for a flag that collects the relevant deps immediately, but it seems that you're not using these commands yet, so I kindly suggest to reopen if in your experience such a flag is really needed; otherwise collecting the garbage later seems preferable. Also feel free to ask questions, especially if I misunderstood.
Description of the new feature/enhancement
If someone wants to build an app from source, they need dependencies. However, people do not want to clog up their systems with useless dependencies. Having the ability to install a multitude of dependencies and have them auto delete automatically once the terminal is closed would be ideal.
e.g. luanti-org/luanti#15198 (comment)
Proposed technical implementation details (optional)
something along the lines of
the terminal would then check which of these are already installed and ignore them, but download those that arent temporarily. you could then close the app and the ones that were downloaded would delete whilst the ones that were already on your system would stay
(i use linux by the way, so the sudo command would be something else)
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: