gnu: lua5.1-socket: Use invoke.

* gnu/packages/lua.scm (lua5.1-socket)[arguments]: Use invoke in the custom
check phase.
This commit is contained in:
Mark H Weaver 2018-03-23 03:06:57 -04:00
parent 12a1660280
commit 6e3fc9bac6
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -210,8 +210,8 @@ (define-public lua5.1-socket
(setenv "LUA_CPATH" (string-append "src/?.so." ,version ";;"))
(setenv "LUA_PATH" "src/?.lua;;")
(when (zero? (primitive-fork))
(system* "lua" "test/testsrvr.lua"))
(zero? (system* "lua" "test/testclnt.lua")))))))
(invoke "lua" "test/testsrvr.lua"))
(invoke "lua" "test/testclnt.lua"))))))
(inputs
`(("lua" ,lua-5.1)))
(home-page "http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/")