Skip to content

Commit

Permalink
luarocks: set meta.mainProgram
Browse files Browse the repository at this point in the history
  • Loading branch information
teto committed Apr 30, 2024
1 parent c83afad commit b73ec84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions pkgs/development/tools/misc/luarocks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ stdenv.mkDerivation (finalAttrs: {
description = "A package manager for Lua";
license = licenses.mit;
maintainers = with maintainers; [ raskin teto ];
mainProgram = "luarocks";
platforms = platforms.linux ++ platforms.darwin;
downloadPage = "http://luarocks.org/releases/";
};
Expand Down
4 changes: 0 additions & 4 deletions pkgs/development/tools/misc/luarocks/luarocks-nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,4 @@ luarocks.overrideAttrs (old: {
passthru = {
updateScript = unstableGitUpdater { };
};

meta = old.meta // {
mainProgram = "luarocks";
};
})

0 comments on commit b73ec84

Please sign in to comment.