luarocks: set meta.mainProgram

This commit is contained in:
Matthieu C. 2024-04-20 23:12:53 +02:00
parent c83afadf29
commit b73ec84b9e
2 changed files with 1 additions and 4 deletions

View File

@ -112,6 +112,7 @@ stdenv.mkDerivation (finalAttrs: {
description = "A package manager for Lua"; description = "A package manager for Lua";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ raskin teto ]; maintainers = with maintainers; [ raskin teto ];
mainProgram = "luarocks";
platforms = platforms.linux ++ platforms.darwin; platforms = platforms.linux ++ platforms.darwin;
downloadPage = "http://luarocks.org/releases/"; downloadPage = "http://luarocks.org/releases/";
}; };

View File

@ -16,8 +16,4 @@ luarocks.overrideAttrs (old: {
passthru = { passthru = {
updateScript = unstableGitUpdater { }; updateScript = unstableGitUpdater { };
}; };
meta = old.meta // {
mainProgram = "luarocks";
};
}) })