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

Allow use of global wakatime-cli #177

Closed
notquiteamonad opened this issue Dec 22, 2020 · 3 comments · Fixed by #178
Closed

Allow use of global wakatime-cli #177

notquiteamonad opened this issue Dec 22, 2020 · 3 comments · Fixed by #178

Comments

@notquiteamonad
Copy link
Contributor

As a NixOS user, the binary of wakatime-cli that this extension installs doesn't work as the binary would need patching to work with NixOS's library structure. We have a patched version already for NixOS so this could probably be fixed just by checking for a global installation first and using that (or having the option to use that)

@alanhamlett
Copy link
Member

For now, you can set the config standalone = false in your ~/.wakatime.cfg that uses the source code Python version of wakatime-cli and should work with Nix. It's not a good solution for long term tho.

@notquiteamonad
Copy link
Contributor Author

Thanks :) That does indeed work for me. I've put together a WIP implementation that accepts a global installation of the binary which provides an alternative for systems without python installed. It needs some cleaning up from its current state and I'm not sure if I've done it in a way which fits with your goals for the API but if you think it's worth pursuing I'll be happy to see it through.

@notquiteamonad
Copy link
Contributor Author

@alanhamlett Sorry - forgot I had marked my PR as WIP, but that should all be ready for review now.

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

Successfully merging a pull request may close this issue.

2 participants