diff options
author | Herwig Hochleitner <herwig@bendlas.net> | 2018-12-22 02:33:18 +0100 |
---|---|---|
committer | Herwig Hochleitner <herwig@bendlas.net> | 2018-12-22 02:41:42 +0100 |
commit | f097a16992915f778e68bb0c7c841185e0033182 (patch) | |
tree | 993cf014082f803050564a24178b451e4a69fe6d /pkgs/development/interpreters/clojure/default.nix | |
parent | 62aea9510c81ca85a500b1814e7f978c3285fb7f (diff) | |
download | nixlib-f097a16992915f778e68bb0c7c841185e0033182.tar nixlib-f097a16992915f778e68bb0c7c841185e0033182.tar.gz nixlib-f097a16992915f778e68bb0c7c841185e0033182.tar.bz2 nixlib-f097a16992915f778e68bb0c7c841185e0033182.tar.lz nixlib-f097a16992915f778e68bb0c7c841185e0033182.tar.xz nixlib-f097a16992915f778e68bb0c7c841185e0033182.tar.zst nixlib-f097a16992915f778e68bb0c7c841185e0033182.zip |
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
Diffstat (limited to 'pkgs/development/interpreters/clojure/default.nix')
-rw-r--r-- | pkgs/development/interpreters/clojure/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/clojure/default.nix b/pkgs/development/interpreters/clojure/default.nix index 33b5551a3d67..001f7c9abee0 100644 --- a/pkgs/development/interpreters/clojure/default.nix +++ b/pkgs/development/interpreters/clojure/default.nix @@ -23,8 +23,8 @@ stdenv.mkDerivation rec { substituteInPlace clojure --replace PREFIX $prefix install -Dt $out/bin clj clojure - wrapProgram $out/bin/clj --prefix PATH : ${binPath} - wrapProgram $out/bin/clojure --prefix PATH : ${binPath} + wrapProgram $out/bin/clj --prefix PATH : $out/bin:${binPath} + wrapProgram $out/bin/clojure --prefix PATH : $out/bin:${binPath} ''; meta = with stdenv.lib; { |