os/doc/flk/update.md
Timothy DeHerrera 25180a5e6e
pkgs: use subflake to manage package sources
* Resolves #118
* Leverage flakes to manage package sources & hashes
* Update documentation with an example.
* Add `mkVersion` function to autogenerate a version string.
* Add srcs package via overlay containing all sources defined in
  _pkgs/flake.nix_
* Extend `flk update` with the ability to only update the given input
2021-02-26 00:15:45 -07:00

434 B

update

The update subcommand is a simple alias for:

nix flake update --recreate-lock-file --commit-lock-file

As it sounds, this will update your lock file, and commit it.

Updating Package Sources

If you pass an input name then it will only update that input.

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

flk update srcs