clojure: add $out/bin to wrapper PATH
without this, the `clj` command calls into system path, instead of its own `clojure` command cc @the-kenny
This commit is contained in:
parent
62aea9510c
commit
f097a16992
@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace clojure --replace PREFIX $prefix
|
substituteInPlace clojure --replace PREFIX $prefix
|
||||||
|
|
||||||
install -Dt $out/bin clj clojure
|
install -Dt $out/bin clj clojure
|
||||||
wrapProgram $out/bin/clj --prefix PATH : ${binPath}
|
wrapProgram $out/bin/clj --prefix PATH : $out/bin:${binPath}
|
||||||
wrapProgram $out/bin/clojure --prefix PATH : ${binPath}
|
wrapProgram $out/bin/clojure --prefix PATH : $out/bin:${binPath}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user