forked from mirrors/nixpkgs
leiningen: Hardcode path to java.
...by setting JAVA_CMD in the wrapper.
This commit is contained in:
parent
29a906b2d8
commit
be64949688
|
@ -20,4 +20,5 @@ patchShebangs $out
|
|||
|
||||
wrapProgram $out_bin \
|
||||
--prefix PATH ":" "${rlwrap}/bin:${coreutils}/bin:${findutils}/bin" \
|
||||
--set LEIN_GPG ${gnupg}/bin/gpg
|
||||
--set LEIN_GPG ${gnupg}/bin/gpg \
|
||||
--set JAVA_CMD ${jdk}/bin/java
|
||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patches = ./lein_2.3.0.patch;
|
||||
|
||||
inherit rlwrap clojure gnupg findutils coreutils;
|
||||
inherit rlwrap clojure gnupg findutils coreutils jdk;
|
||||
|
||||
builder = ./builder.sh;
|
||||
|
||||
|
|
Loading…
Reference in a new issue