luaPackages.luarocks: add versionCheckHook
luarocks being wrapped by luarocks_bootstrap, there can be a confusion between the 2. Rather than fixing this (since we might use lux anyway), for now let's make sure both are upgraded at the same time and check that with `versionCheckHook`.
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
tree-sitter,
|
||||
unbound,
|
||||
unzip,
|
||||
versionCheckHook,
|
||||
vimPlugins,
|
||||
yajl,
|
||||
zip,
|
||||
@@ -577,10 +578,14 @@ in
|
||||
installShellFiles
|
||||
lua
|
||||
unzip
|
||||
versionCheckHook
|
||||
];
|
||||
# cmake is just to compile packages with "cmake" buildType, not luarocks itself
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
doInstallCheck = true;
|
||||
versionCheckProgramArg = "--version";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
zip
|
||||
unzip
|
||||
|
||||
Reference in New Issue
Block a user