I use Nix under Debian. I installed clojure through nix-shell -p clojure.
clj successfully started the repl after downloaded some poms from maven.
Then I found there is a folder named ‘?’ created under my $HOME. The maven
cache .m2 is under this ‘?’ folder. I tried leiningen, it is the same.
I sup
What's the value of $HOME
Le sam. 14 déc. 2019 à 08:22, Leira Hua a écrit :
> I use Nix under Debian. I installed clojure through nix-shell -p clojure.
> clj successfully started the repl after downloaded some poms from maven.
> Then I found there is a folder named ‘?’ created under my $HOME. Th
IIRC, Java's user.home system property does not depend on $HOME but on the
home of the current user as declared in /etc/passwd
If you want to set/change it, you need to set the system property with
-Duser.home=… (with Maven, you'd set it in $MAVEN_OPTS; I think you could
also use $_JAVA_OPTS to set
Am 2019-12-12 um 02:23 schrieb Leira Hua:
I use Nix under Debian. I installed clojure through nix-shell -p clojure.
clj successfully started the repl after downloaded some poms from maven.
Then I found there is a folder named ‘?’ created under my $HOME. The maven
cache .m2 is under this ‘?’ folde
Sorry for the late reply.
The Java process in question is clj, which is the Clojure command line. I
only reproduced this issue in a Nix environment within a gLInux
distribution (A Debian based distro). I tried to run clj in NixOS, it
created $HOME/.m2 as expected, rather than $HOME/?/.m2 as in Nix