mhw pushed a commit to branch core-updates
in repository guix.

commit 12a1660280250cab04022404ad7974a6a4e131e1
Author: Mark H Weaver <[email protected]>
Date:   Fri Mar 23 03:05:28 2018 -0400

    gnu: lua5.1-expat: Use invoke.
    
    * gnu/packages/lua.scm (lua5.1-expat)[arguments]: Use invoke and remove
    vestigial plumbing in the custom check phase.
---
 gnu/packages/lua.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm
index 8aca970..02467e2 100644
--- a/gnu/packages/lua.scm
+++ b/gnu/packages/lua.scm
@@ -174,8 +174,8 @@ language.")
            (lambda _
              (setenv "LUA_CPATH" "src/?.so;;")
              (setenv "LUA_PATH"  "src/?.lua;;")
-             (and (zero? (system* "lua" "tests/test.lua"))
-                  (zero? (system* "lua" "tests/test-lom.lua"))))))))
+             (invoke "lua" "tests/test.lua")
+             (invoke "lua" "tests/test-lom.lua"))))))
     (inputs
      `(("lua" ,lua-5.1)
        ("expat" ,expat)))

Reply via email to