Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stdenv: support mainProgram in meta #120692

Merged
merged 1 commit into from
Apr 26, 2021

Commits on Apr 26, 2021

  1. 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 <[email protected]>
    Hoverbear committed Apr 26, 2021
    Configuration menu
    Copy the full SHA
    acfddd5 View commit details
    Browse the repository at this point in the history