nixpkgs/pkgs/stdenv/generic
Ana Hobden acfddd576e 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>
2021-04-25 21:19:49 -07:00
..
builder.sh
check-meta.nix stdenv: support mainProgram in meta 2021-04-25 21:19:49 -07:00
default-builder.sh
default.nix Merge master into staging-next 2021-04-19 18:11:51 +00:00
make-derivation.nix stdenv/make-derivation: add -static to name if building statically 2021-04-13 12:33:00 +02:00
setup.sh stdenv: ignore duplicates in addToSearchPath (#113800) 2021-03-13 13:58:21 -05:00