From f6551e1efa261568c82b76c3a582b2c2ceb1f53f Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Wed, 11 Aug 2021 13:43:09 +0200 Subject: [PATCH] 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. --- pkgs/development/interpreters/clojure/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/interpreters/clojure/default.nix b/pkgs/development/interpreters/clojure/default.nix index c7608ae0277..008885d37d3 100644 --- a/pkgs/development/interpreters/clojure/default.nix +++ b/pkgs/development/interpreters/clojure/default.nix @@ -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"