R""(
Create the lock file for the flake in the current directory:
Add missing inputs to the lock file for a flake in a different directory:
Note
When trying to refer to a flake in a subdirectory, write
./another
instead ofanother
. Otherwise Nix will try to look up the flake in the registry.
This command updates the lock file of a flake (flake.lock
) so that it contains an up-to-date lock for every flake input specified in flake.nix
. Lock file entries are already up-to-date are not modified.
If you want to update existing lock entries, use nix flake update
)""