Is there a way to specify a nodejs executable (i.e. use $PATH to resolve it) in the Kotlin Gradle plugin instead of the downloaded one?
The problem is the following: I use NixOS which doesn’t have a traditional filesystem hierarchy. Binaries won’t find their required libraries if they are not linked with that in mind.
I’ve had a look at the code of the plugin, but I don’t know enough about the more deeper things about Gradle to know if that is a possibility.
I’ve considered re-linking the downloaded binary. This seems like a bit of a hack and I thought I’d try this before I go down this path.