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

docs: Provide an example of updating multiple inputs (backport #11526) #12199

Open
wants to merge 1 commit into
base: 2.24-maintenance
Choose a base branch
from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 10, 2025

Motivation

Currently, the instructions with nix flake update are somewhat vague when it comes to updating multiple inputs. The description says: Unlike other nix flake commands, nix flake update takes a list of names of inputs to update as its positional arguments and operates on the flake in the current directory.). However, the lack of an example makes it unclear exactly how you provide that list of multiple inputs.

This PR adds an example to demonstrate how updating multiple inputs is done. The inputs nixpkgs and nixpkgs-unstable are used, instead of referring to an external project.


This is an automatic backport of pull request #11526 done by Mergify.

…update`

docs: Provide an example of updating multiple inputs with `nix flake update`
(cherry picked from commit 9e335ee)
@mergify mergify bot requested a review from fricklerhandwerk as a code owner January 10, 2025 10:22
@mergify mergify bot added the merge-queue label Jan 10, 2025
@github-actions github-actions bot added documentation new-cli Relating to the "nix" command labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation merge-queue new-cli Relating to the "nix" command
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant