about summary refs log tree commit diff
path: root/gn
diff options
context:
space:
mode:
authorpjotrp2016-03-24 17:48:13 -0500
committerpjotrp2016-03-24 17:48:13 -0500
commitf537772b8b48f5fa05606afd1573ff003f991ce0 (patch)
tree870be940a835e8def53fa9a79461e2d5dbfe784b /gn
parent5cf3ef6444d42ddc7e5ee8bd184b4ccbba5d500e (diff)
downloadguix-bioinformatics-f537772b8b48f5fa05606afd1573ff003f991ce0.tar.gz
Elixir fix path
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/elixir.scm7
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")))))))