Skip to content
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

support multiple package paths in ARGOS_PACKAGES_DIR #370

Open
milahu opened this issue Oct 15, 2023 · 0 comments
Open

support multiple package paths in ARGOS_PACKAGES_DIR #370

milahu opened this issue Oct 15, 2023 · 0 comments

Comments

@milahu
Copy link
Contributor

milahu commented Oct 15, 2023

this would be helpful to use a system-wide package manager like apt or nix
to install argos packages into a system-wide folder like /usr/share/argos-translate/packages

argospm installs packages to $HOME/.local/share/argos-translate/packages

argos-translate can use a different packages path via the env var ARGOS_PACKAGES_DIR
ideally, argos-translate should accept multiple paths separated by colon, for example
/usr/share/argos-translate/packages:$HOME/.local/share/argos-translate/packages
the system-wide folder will be different on different linux distributions

downstream issue: NixOS/nixpkgs#250863 Packaging request: Argos translation data as Nix packages

It would be nicer to handle this through Nix as well,
similarly Aspell and Hunspell dictionaries which are packaged in Nixpkgs.

The only sane way to achieve this it to add support for this use-case to the upstream project,
similarly to how whisper and whisper.cpp handles data files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant