Skip to content

nixos-rebuild: why is --update-input and --recreate-lock-file deprecated? #14653

@Oneechan69

Description

@Oneechan69

It's very convenient to specify either of those flags in system.autoUpgrade to regularly update my flake.lock file.

warning: '--recreate-lock-file' is deprecated and will be removed in a future version; use 'nix flake update' instead.
warning: '--update-input' is a deprecated alias for 'flake update' and will be removed in a future version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions