-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: added plugin to launch nix applications without installing them #83
base: master
Are you sure you want to change the base?
Conversation
Flake lock file updates: • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/71fb97f0d875fd4de4994dfb849f2c75e17eb6c3' (2023-06-01) → 'github:hercules-ci/flake-parts/59cf3f1447cfc75087e7273b04b31e689a8599fb' (2023-08-01) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/e635192892f5abbc2289eaac3a73cdb249abaefd' (2023-06-01) → 'github:NixOS/nixpkgs/caac0eb6bdcad0b32cb2522e03e4002c8975c62e' (2023-08-16)
I think |
Yes, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All should be updated to nix-run
Without an activation keyword, doesn't this plugin "conflict" with the |
Co-authored-by: Mihai Fufezan <[email protected]>
I'd say it depends. Yes, it might show redundant applications. In the long run it would be smarter to add a prefix as a configuration option. |
What about |
I though about adding it as a config option similar to how symbols does it.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind, did it today, implementing a command prefix was trivial with the code provided by the symbols plugin.
This seems very similar to This could also be of use for the prefix, as you could simply set it to |
The would be possible, but the index building would need to be redone. Mostly because some outputs are present multiple times, i.e. We could also look into dynamically fetching the outputs as an optional feature. This could also be extended to work with flakes. I.e.
This could easilty be done by changing the prefix in the config. Though atm my priority to implement this addition is relatively low. This can still be merged, once we know for certain on how anyrun-org wants to manage non-core plugins. |
This plugin creates a local cache of all available applications within nixpkgs and makes them available to be launched by anyrun.
Since most applications aren't downloaded to the
/nix/store
when you first launch them, expect to wait a few seconds for nix to prepare them in the background.They should start instantly after the first launch.