nixpkgs/pkgs/stdenv
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
..
cross llvmPackages: select version by targetPlatform 2021-01-11 11:10:53 +01:00
custom stdenv: allow custom stdenv to take crossOverlays 2019-01-07 20:53:10 -06:00
cygwin treewide: Make still dont* Variables are optional in most cases 2019-11-01 14:44:44 -04:00
darwin darwin: move deployment target and sdk version to platform config 2021-03-26 15:10:22 +09:00
freebsd stdenv/freebsd/cc: make overrideable fixing nixpkgs eval 2021-04-15 12:49:41 +02:00
generic stdenv: support mainProgram in meta 2021-04-25 21:19:49 -07:00
linux stdenv/bootstrap-tools: remove powerpc64 special case 2021-03-15 19:27:41 -07:00
native stdenv/{native,nix}: add lib to cc-wrapper args 2021-04-21 11:56:55 -04:00
nix stdenv/{native,nix}: add lib to cc-wrapper args 2021-04-21 11:56:55 -04:00
adapters.nix treewide: stdenv.lib -> lib 2021-01-27 13:08:40 +07:00
booter.nix pkgs/stdenv/booter.nix: Add comment explaining hasCC trickery 2019-12-30 18:09:45 -05:00
common-path.nix
default.nix stdenv: add powerpc64-linux 2021-01-30 12:34:30 -08:00