From f097a16992915f778e68bb0c7c841185e0033182 Mon Sep 17 00:00:00 2001 From: Herwig Hochleitner Date: Sat, 22 Dec 2018 02:33:18 +0100 Subject: [PATCH] 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 --- pkgs/development/interpreters/clojure/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/clojure/default.nix b/pkgs/development/interpreters/clojure/default.nix index 33b5551a3d6..001f7c9abee 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; {