From f537772b8b48f5fa05606afd1573ff003f991ce0 Mon Sep 17 00:00:00 2001 From: pjotrp Date: Thu, 24 Mar 2016 17:48:13 -0500 Subject: Elixir fix path --- gn/packages/elixir.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gn/packages') diff --git a/gn/packages/elixir.scm b/gn/packages/elixir.scm index 58e1ee0..2f9bcc3 100644 --- a/gn/packages/elixir.scm +++ b/gn/packages/elixir.scm @@ -45,7 +45,12 @@ `(("erlang" ,erlang))) (arguments `(#:phases (modify-phases %standard-phases - (delete 'configure) + (delete 'configure) + (add-before + 'build 'rewrite-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "bin/elixir" + (("ERL_EXEC=\"erl\"") (string-append "ERL_EXEC=" (which "erl")))))) ;; (replace 'check ;; (lambda _ ;; (zero? (system* "make" "test"))))))) -- cgit v1.2.3