luaPackages.argparse: enable tests

This commit is contained in:
Matthieu Coudron 2024-03-17 00:41:26 +01:00
parent 0c609df542
commit 5fc8e8d7c4

View file

@ -58,6 +58,18 @@
final: prev:
with prev;
{
argparse = prev.argparse.overrideAttrs(oa: {
doCheck = true;
checkInputs = [ final.busted ];
checkPhase = ''
runHook preCheck
export LUA_PATH="src/?.lua;$LUA_PATH"
busted spec/
runHook postCheck
'';
});
##########################################3
#### manual fixes for generated packages
##########################################3