mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 16:39:00 +02:00
templates/README: update regarding template lock file management
This commit is contained in:
parent
13f22b5083
commit
41f5b167e7
1 changed files with 3 additions and 1 deletions
|
@ -6,4 +6,6 @@ It does this by overwriting the url of nixvim and other dependencies to a path w
|
||||||
|
|
||||||
It is also used in the github workflows, so that we can always check if the template is working or not
|
It is also used in the github workflows, so that we can always check if the template is working or not
|
||||||
|
|
||||||
NOTE: It is important that we do not commit the `flake.lock` files here as that could cause problems with the check once any files are updated outside the wrapper. Also we cannot add `flake.lock` to `.gitignore` since nix will sometimes complain.
|
NOTE: It is important that we do not commit the `flake.lock` files here as that could cause problems with the check once any files are updated outside the wrapper.
|
||||||
|
That is why we add them to `.gitignore`.
|
||||||
|
Finally, the `nix flake check` command for templates should be called with the `--no-write-lock-file` flag.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue