mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 21:33:49 +00: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 New Issue
Block a user