mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
luaPackages.argparse: enable tests
This commit is contained in:
parent
0c609df542
commit
5fc8e8d7c4
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue