diff options
Diffstat (limited to 'gn/packages/elixir.scm')
-rw-r--r-- | gn/packages/elixir.scm | 7 |
1 files changed, 6 insertions, 1 deletions
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"))))))) |