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

Make update-daemon use 'nix flake update' instead of '--update-input' #45

Open
rvem opened this issue Jul 23, 2024 · 0 comments
Open

Make update-daemon use 'nix flake update' instead of '--update-input' #45

rvem opened this issue Jul 23, 2024 · 0 comments

Comments

@rvem
Copy link
Member

rvem commented Jul 23, 2024

Newer nix versions report the following warning when nix flake lock --update-input is used:

warning: '--update-input' is a deprecated alias for 'flake update' and will be removed in a future version

However, update-daemon still uses this option, so it's better to switch to the newer interface.

alexd1971 added a commit that referenced this issue Aug 28, 2024
Problem: Newer nix versions report the following warning when nix flake
lock --update-input is used:
```
warning: '--update-input' is a deprecated alias for 'flake update' and
will be removed in a future version
```
However, update-daemon still uses this option, so it's better to switch to the newer interface.

Solution: Replace command `flake lock --update-inputs` with `flake
update` in case when a list of inputs to update is provided.
alexd1971 added a commit that referenced this issue Aug 30, 2024
Problem: Newer nix versions report the following warning when nix flake
lock --update-input is used:
```
warning: '--update-input' is a deprecated alias for 'flake update' and
will be removed in a future version
```
However, update-daemon still uses this option, so it's better to switch to the newer interface.

Solution: Replace command `flake lock --update-inputs` with `flake
update` in case when a list of inputs to update is provided.
alexd1971 added a commit that referenced this issue Aug 30, 2024
Problem: Newer nix versions report the following warning when nix flake
lock --update-input is used:
```
warning: '--update-input' is a deprecated alias for 'flake update' and
will be removed in a future version
```
However, update-daemon still uses this option, so it's better to switch to the newer interface.

Solution: Replace command `flake lock --update-inputs` with `flake
update` in case when a list of inputs to update is provided.
alexd1971 added a commit that referenced this issue Aug 30, 2024
[#45] Use `flake update` instead of `flake lock --update-input`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant