1
1
mirror of https://github.com/divnix/digga.git synced 2024-11-26 12:03:03 +03:00
digga/doc/flk/update.md
2021-04-18 20:42:49 -06:00

554 B

update

The update subcommand is a simple alias for:

nix flake update

As it sounds, this will update your lock file.

Updating Package Sources

If you pass directory name then it will update that input if the directory contains a flake.nix, with an optional arguement to update only a specific input in the subflake.

For example, you can update any package sources you may have declared in pkgs/flake.nix:

flk update pkgs

or just its nixpkgs:

flk update pkgs nixpkgs