luaPackages.haskell-tools-nvim: enable tests
limited to 5.1 as nlua uses neovim as lua interpreter, which is 5.1
This commit is contained in:
parent
dc40530573
commit
a204cd05a1
@ -480,6 +480,17 @@ in
|
||||
};
|
||||
});
|
||||
|
||||
haskell-tools-nvim = prev.haskell-tools-nvim.overrideAttrs(oa: {
|
||||
doCheck = lua.luaversion == "5.1";
|
||||
nativeCheckInputs = [ final.nlua final.busted ];
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
export HOME=$(mktemp -d)
|
||||
busted --lua=nlua
|
||||
runHook postCheck
|
||||
'';
|
||||
});
|
||||
|
||||
plenary-nvim = prev.plenary-nvim.overrideAttrs (oa: {
|
||||
postPatch = ''
|
||||
sed -Ei lua/plenary/curl.lua \
|
||||
|
Loading…
Reference in New Issue
Block a user