On Nixos the auto downloaded wakatime-cli cannot run because Nixos does not store shared libraries in a typical unix location.
I also cannot set $WAKATIME_HOME to a nix managed location with a patched binary because those are read only, so I'd have to manage the API key in my nix config which is public.
I've added a $WAKATIME_BIN environment variable which if set will be used instead of downloading or updating the plugin managed binary.
This might not be the best way of doing this, it's just how I decided to fix my own issue. Just thought others might also benefit from a variable like this.
On Nixos the auto downloaded wakatime-cli cannot run because Nixos does not store shared libraries in a typical unix location. I also cannot set $WAKATIME_HOME to a nix managed location with a patched binary because those are read only, so I'd have to manage the API key in my nix config which is public.
I've added a $WAKATIME_BIN environment variable which if set will be used instead of downloading or updating the plugin managed binary.
This might not be the best way of doing this, it's just how I decided to fix my own issue. Just thought others might also benefit from a variable like this.