summary refs log tree commit diff
path: root/maintainers
diff options
context:
space:
mode:
authorAna Hobden <operator@hoverbear.org>2021-04-25 21:19:49 -0700
committerAna Hobden <operator@hoverbear.org>2021-04-25 21:19:49 -0700
commitacfddd576e143669837b4cb79558ed047636f1fb (patch)
tree68ca466d39fad3c380c832b03b5877ae94968b2e /maintainers
parent34463b2e3875fade97b61180b7676654ddad49fe (diff)
stdenv: support mainProgram in meta
Support `mainProgram` as an attribute of `meta` for packages.

This is an attribute used by [`nix
run`](https://nixos.org/manual/nix/unstable/command-ref/new-cli/nix3-run.html#description)
to customize the main program of a package.

For example, `pkgs.neovim` provides a `/bin/nvim` executable which users
would (almost certainly) prefer `nix run` to execute instead of a
non-existing `/bin/neovim`.

Signed-off-by: Ana Hobden <operator@hoverbear.org>
Diffstat (limited to 'maintainers')
0 files changed, 0 insertions, 0 deletions