If the given programs are packaged with nix then it shouldn't be an issue
but I agree that for starting random programs it's not ideal. Maybe the
solution it to make it dead easy to wrap a Java program in a derivation ?
On Mon, 7 Mar 2016 at 01:51 Svein Ove Aas wrote:
> That's effectively what h
That's effectively what happens already, if you use nix-shell.
I'm concerned mostly about users who don't know to do that. Someone trying
to run a script from a different brand of unix, for example.
In theory, if there is a java binary on the PATH, there should also be a
JAVA_HOME. That's Oracle'
What if the JRE(s) also included a `java-env.sh` that can be sourced ? Then
it's easy to build wrappers that source it dynamically.
On Sat, 5 Mar 2016 at 17:34 Svein Ove Aas wrote:
> Context: https://github.com/NixOS/nixpkgs/issues/13653
>
> There are a few packages which can't be considered pro
Context: https://github.com/NixOS/nixpkgs/issues/13653
There are a few packages which can't be considered properly installed (and
usable) without setting environment variables, this example being the Java
development kit.
Some Java-based tools need to know where to find the JDK. The way they do
t