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:
sternenseemann 2021-08-11 13:43:09 +02:00 committed by sterni
parent 2da6605a52
commit f6551e1efa

View File

@ -34,6 +34,7 @@ stdenv.mkDerivation rec {
echo "Installing clojure and clj into $bin_dir"
substituteInPlace clojure --replace PREFIX $out
substituteInPlace clj --replace BINDIR $bin_dir
install -Dm755 clojure "$bin_dir/clojure"
install -Dm755 clj "$bin_dir/clj"