mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
luaPackages.lz-n: enable checks for lua 5.1
This commit is contained in:
parent
1ddd48bc0c
commit
7d329d1a9e
|
@ -530,6 +530,17 @@ in
|
|||
};
|
||||
});
|
||||
|
||||
lz-n = prev.lz-n.overrideAttrs(oa: {
|
||||
doCheck = lua.luaversion == "5.1";
|
||||
nativeCheckInputs = [ final.nlua final.busted ];
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
export HOME=$(mktemp -d)
|
||||
busted --lua=nlua
|
||||
runHook postCheck
|
||||
'';
|
||||
});
|
||||
|
||||
neotest = prev.neotest.overrideAttrs(oa: {
|
||||
# A few tests fail for strange reasons on darwin
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
|
Loading…
Reference in a new issue