clojure: fix clj script
At some point the clj script stopped just calling clojure, but instead $bin_dir/clojure. As a result we now need to additionally substitute BINDIR in the clj script.
This commit is contained in:
parent
2da6605a52
commit
f6551e1efa
@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
echo "Installing clojure and clj into $bin_dir"
|
echo "Installing clojure and clj into $bin_dir"
|
||||||
substituteInPlace clojure --replace PREFIX $out
|
substituteInPlace clojure --replace PREFIX $out
|
||||||
|
substituteInPlace clj --replace BINDIR $bin_dir
|
||||||
install -Dm755 clojure "$bin_dir/clojure"
|
install -Dm755 clojure "$bin_dir/clojure"
|
||||||
install -Dm755 clj "$bin_dir/clj"
|
install -Dm755 clj "$bin_dir/clj"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user