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.
This commit is contained in:
Mark H Weaver 2018-03-23 03:05:28 -04:00
parent ffa95cf3ba
commit 12a1660280
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -174,8 +174,8 @@ (define-public lua5.1-expat
(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)))