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

Improve shell completion of flake inputs #6693

Merged
merged 2 commits into from
Jul 12, 2022

Commits on Jun 20, 2022

  1. Complete flake inputs for all given flakes

    Allow `nix build flake1 flake2 --update-input <Tab>` to complete the
    inputs of both flakes.
    
    Also do tilde expansion so that `nix build ~/flake --update-input <Tab>`
    works.
    ncfavier committed Jun 20, 2022
    Configuration menu
    Copy the full SHA
    d6d0e78 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Fix flake input completion for InstallablesCommands

    Defers completion of flake inputs until the whole command line is parsed
    so that we know what flakes we need to complete the inputs of.
    
    Previously, `nix build flake --update-input <Tab>` always behaved like
    `nix build . --update-input <Tab>`.
    ncfavier committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    711b2e1 View commit details
    Browse the repository at this point in the history