From f44cb62a53ca62d1c4156333b70aeb54bb91c996 Mon Sep 17 00:00:00 2001 From: pjotrp Date: Wed, 22 Jun 2016 15:47:58 +0000 Subject: Elixir: remark --- gn/packages/elixir.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gn/packages/elixir.scm b/gn/packages/elixir.scm index 8262532..c4958d9 100644 --- a/gn/packages/elixir.scm +++ b/gn/packages/elixir.scm @@ -46,17 +46,17 @@ (arguments `(#:phases (modify-phases %standard-phases (delete 'configure) + (replace 'check + (lambda _ + (zero? (system* "make" "test")))) (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"))))))) - ) + (("ERL_EXEC=\"erl\"") (string-append "ERL_EXEC=" (which "erl"))))))) #:make-flags (list (string-append "PREFIX=" %output)) - #:tests? #f)) ;; 2845 tests, 12 failures + #:tests? #t)) ;; 3115 tests, 14 failures + (home-page "http://elixir-lang.org/") (synopsis "The Elixir programming language") (description "Elixir is a dynamic, functional language designed for -- cgit v1.2.3