buidLuarocksPackage: add a checkPhase
This commit is contained in:
parent
6eeb434b33
commit
006aeb5704
@ -230,6 +230,13 @@ builtins.removeAttrs attrs ["disabled" "checkInputs" "externalDeps" "extraVariab
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
||||
checkPhase = attrs.checkPhase or ''
|
||||
runHook preCheck
|
||||
$LUAROCKS test
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit lua; # The lua interpreter
|
||||
inherit externalDeps;
|
||||
|
Loading…
Reference in New Issue
Block a user