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
cygwin
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
common-path.nix
default.nix stdenv: add powerpc64-linux 2021-01-30 12:34:30 -08:00