nodePackages: add meta.mainProgram to packages with multiple executables

where none of the executables match the package's `name` or `pname`, and
one of the executables is the obvious `mainProgram`.
main
Malo Bourgon 2 years ago
parent 8eb3f281dc
commit 73fe05a563
  1. 6
      pkgs/development/node-packages/main-programs.nix

@ -2,7 +2,13 @@
# executable that matches that packages name, so that they'll work with `nix run`.
{
# Packages that provide multiple executables where one is clearly the `mainProgram`.
"@antfu/ni" = "ni";
"@electron-forge/cli" = "electron-forge";
"@squoosh/cli" = "squoosh-cli";
"@webassemblyjs/cli" = "wasm2wast";
coffee-script = "coffee";
typescript = "tsc";
vue-cli = "vue";
# Packages that provide a single executable whose name differs from the package's `name`.
"@angular/cli" = "ng";

Loading…
Cancel
Save